aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a9a8ec6..55ff62f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,12 +5,13 @@ SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR})
set(CMAKE_VERBOSE_MAKEFILE true)
find_package(ltdl REQUIRED)
+find_package(muparser REQUIRED)
add_subdirectory(example)
add_subdirectory(interface)
add_subdirectory(dynamical_fit)
-include_directories (${PROJECT_SOURCE_DIR} ${LTDL_INCLUDE_DIRS})
+include_directories (${PROJECT_SOURCE_DIR} ${LTDL_INCLUDE_DIRS} ${MP_INCLUDE_DIRS})
#message(${LTDL_LIBRARIES})
set(LIBRARY_OUTPUT_PATH,lib)
@@ -19,5 +20,5 @@ ADD_EXECUTABLE(test_fitter example/test_fitter.cpp)
ADD_EXECUTABLE(test_optimizer example/test_optimizer.cpp)
ADD_EXECUTABLE(dynamical_fit.out dynamical_fit/dynamical_fit.cpp)
-target_link_libraries(dynamical_fit.out ${LTDL_LIBRARIES})
+target_link_libraries(dynamical_fit.out ${LTDL_LIBRARIES} ${MP_LIBRARIES})