From 296f8f216f81ec3e7aecb4c06de3034498c3c7a5 Mon Sep 17 00:00:00 2001 From: Hiroshi Shinaoka Date: Thu, 29 Dec 2016 23:42:47 +0900 Subject: [PATCH] Fixed missing dependencies --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c9b154..dde04c3 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,7 +89,7 @@ target_link_libraries(alpscore_cthyb ${ALPSCore_LIBRARIES} ${MPI_CXX_LIBRARIES} #executable ADD_EXECUTABLE(hybmat ./src/main.cpp) -target_link_libraries(hybmat alpscore_cthyb) +target_link_libraries(hybmat alpscore_cthyb ${ALPSCore_LIBRARIES} ${MPI_CXX_LIBRARIES} ${Boost_LIBRARIES} ${EXTRA_LIBS}) #testing setup option(Testing "Enable testing" ON)