X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=cmake%2FCMakeLists.txt;h=e3d07e5c20218e671a0bdea024c3062070465d86;hb=HEAD;hp=7db97e9d701a2f1d8db503b199919175a0dca6ac;hpb=3d5417d682ae768bf6393f1b0d1f6b1a1755e0bd;p=cpPlugins.git diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 7db97e9..e3d07e5 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -1,17 +1,19 @@ -CONFIGURE_FILE( - cpPluginsConfig.cmake.in - ${PROJECT_BINARY_DIR}/cpPluginsConfig.cmake - @ONLY - ) - -## ======================== -## -- Installation rules -- -## ======================== +## ========================================================================= +## @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co) +## ========================================================================= -INSTALL( - FILES - ${PROJECT_BINARY_DIR}/cpPluginsConfig.cmake - DESTINATION share/cmake +set( + _scripts + cpPlgDefinitions.cmake + cpPlgFunctions.cmake + cpPlg3rdParty.cmake + cpPlgInstallCommands.cmake ) +foreach(_s ${_scripts}) + install( + FILES "${_s}" + DESTINATION "lib/cmake/${PROJECT_NAME}" + ) +endforeach(_s) ## eof - $RCSfile$