From 72d58447aca6593f80763971720ab7829977b58f Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Fri, 5 Jan 2018 16:21:12 +0100 Subject: [PATCH] Remove quietness as it seems to cause problems --- external/external_build.cmake | 4 +++- python/CMakeLists.txt | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/external/external_build.cmake b/external/external_build.cmake index f05e79e..bfadc56 100644 --- a/external/external_build.cmake +++ b/external/external_build.cmake @@ -337,9 +337,11 @@ IF (INTERNAL_EIGEN) SET(EIGEN3_INCLUDE_DIRS ${EXT_INSTALL}/include/eigen3) ELSE (INTERNAL_EIGEN) - pkg_check_modules(EIGEN3 QUIET eigen3 ) + pkg_check_modules(EIGEN3 eigen3 ) if (NOT EIGEN3_FOUND) cmessage(CWARNING "Eigen library not found") + else() + cmessage(STATUS "Found EIGEN3 in ${EIGEN3_INCLUDE_DIRS}") endif() ENDIF(INTERNAL_EIGEN) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index f3c01b5..18f626a 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -100,6 +100,8 @@ if (WIN32 AND NOT CYGWIN) SET_TARGET_PROPERTIES(_cosmotool PROPERTIES SUFFIX ".pyd") endif (WIN32 AND NOT CYGWIN) +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cosmotool/config.py.in ${CMAKE_CURRENT_BINARY_DIR}/cosmotool/config.py @ONLY) + INSTALL(TARGETS ${ct_TARGETS} LIBRARY DESTINATION ${PYTHON_SITE_PACKAGES}/cosmotool