From 9428a6cced4a9777f7766eb9cb5c4ff0c66a9f7f Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Fri, 5 Jan 2018 16:32:35 +0100 Subject: [PATCH] Install config file at correct position --- python/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")