From 6ab5df28f3d80379e814f5b2b699e2eaad92def2 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Fri, 14 Sep 2018 10:51:27 +0200 Subject: [PATCH] Revert cmake modifications --- python/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 3c43b41..0e67f2f 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -50,15 +50,15 @@ if(APPLE) set(CMAKE_MODULE_LINKER_FLAGS "-undefined dynamic_lookup") endif() -target_link_libraries(_cosmotool ${CosmoTool_local} ${PYTHON_LIBRARY} ${GSL_LIBRARIES}) -target_link_libraries(_cosmo_power ${CosmoTool_local} ${PYTHON_LIBRARY} ${GSL_LIBRARIES}) -target_link_libraries(_cosmo_cic ${CosmoTool_local} ${PYTHON_LIBRARY} ${GSL_LIBRARIES}) -target_link_libraries(_project ${PYTHON_LIBRARY}) -target_link_libraries(_fast_interp ${CosmoTool_local} ${PYTHON_LIBRARY}) +target_link_libraries(_cosmotool ${CosmoTool_local} ${GSL_LIBRARIES}) +target_link_libraries(_cosmo_power ${CosmoTool_local} ${GSL_LIBRARIES}) +target_link_libraries(_cosmo_cic ${CosmoTool_local} ${GSL_LIBRARIES}) +target_link_libraries(_project ) +target_link_libraries(_fast_interp ${CosmoTool_local} ) SET(ct_TARGETS _cosmotool _project _cosmo_power _cosmo_cic _fast_interp ) -if (FALSE AND Boost_FOUND) +if (Boost_FOUND) message(STATUS "Building bispectrum support (path = ${Boost_INCLUDE_DIRS})") include_directories(${Boost_INCLUDE_DIRS}) add_library(_cosmo_bispectrum MODULE _cosmo_bispectrum.cpp)