Skip to content
Snippets Groups Projects
Commit 80a06f95 authored by Ganeva, Marina's avatar Ganeva, Marina
Browse files

Small modifications

parent 405db061
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ project(CylindersAndPrisms)
add_executable(CylindersAndPrisms CylindersAndPrisms.cpp)
#set (CMAKE_CXX_FLAGS "-g")
set (CMAKE_CXX_FLAGS "-H -Wall")
# path to the cmake modules
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/modules)
......@@ -36,15 +36,15 @@ find_package(ROOT)
include_directories(
${BA_INCLUDE_DIR}
${Boost_INCLUDE_DIRS}
${EIGEN3_INCLUDE_DIR}
${ROOT_INCLUDE_DIR}
${BA_INCLUDE_DIR}
${EIGEN3_INCLUDE_DIR}
)
target_link_libraries(CylindersAndPrisms
${Boost_LIBRARIES}
${BA_LIBRARY}
${Boost_LIBRARIES}
${ROOT_LIBRARIES}
)
......
......@@ -3,6 +3,7 @@
# It defines:
# BA_INCLUDE_DIR PATH to the include directory
# BA_LIBRARY_DIR PATH to the library directory
# BA_LIBRARY PATH to the libBornAgainCore.so
if(NOT BORNAGAINSYS)
set(BORNAGAINSYS /usr)
......@@ -12,6 +13,6 @@ set(BA_LIBRARY_DIR ${BORNAGAINSYS}/lib)
set(BA_INCLUDE_DIR ${BORNAGAINSYS}/include/BornAgain)
find_library (BA_LIBRARY
NAMES BornAgainCore BornAgainFit
NAMES BornAgainCore
PATHS ${BA_LIBRARY_DIR}
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment