From a13af82ab111b454a46db72e75c19b9aee134004 Mon Sep 17 00:00:00 2001 From: Dilawar Singh <dilawars@ncbs.res.in> Date: Fri, 25 May 2018 13:48:51 +0530 Subject: [PATCH] Fixes to install command. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 883a9a0e..898ba1f5 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 -- GitLab