diff --git a/CMakeLists.txt b/CMakeLists.txt index 883a9a0e57a3b8685117a62987c6c6454ef38597..898ba1f58f26e9cb978b973e0b3ed303638eb86d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -114,8 +114,8 @@ if(WITH_GUI) endif() - -install(DIRECTORY ${PYMOOSE_INSTALL_DIR}/usr/ +# NOTE: leading / is important other whole path will be installed. +install(DIRECTORY ${PYMOOSE_INSTALL_DIR}/ DESTINATION ${CMAKE_INSTALL_PREFIX} CONFIGURATIONS Release PATTERN ".git" EXCLUDE