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