From 53038d83bf4afe0cc21e465f6a8525b88c1d2886 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 6 Jul 2013 17:09:16 -0400 Subject: Wipe services's module dir prior to make install --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0cc3f827b..04e6dda22 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -499,6 +499,8 @@ if(WIN32) ) endif(WIN32) +install(CODE "file(REMOVE_RECURSE \"${CMAKE_INSTALL_PREFIX}/${LIB_DIR}/modules\")") + # Only process the CPack section if we have CPack if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") # Various options for CPack -- cgit