diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 18f626a..7513f38 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -107,5 +107,5 @@ INSTALL(TARGETS LIBRARY DESTINATION ${PYTHON_SITE_PACKAGES}/cosmotool ) -INSTALL(DIRECTORY cosmotool DESTINATION ${PYTHON_SITE_PACKAGES} +INSTALL(DIRECTORY cosmotool ${CMAKE_CURRENT_BINARY_DIR}/cosmotool DESTINATION ${PYTHON_SITE_PACKAGES} FILES_MATCHING PATTERN "*.py")