diff options
author | Adam <Adam@anope.org> | 2013-07-06 17:09:16 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-07-07 23:13:16 -0400 |
commit | 53038d83bf4afe0cc21e465f6a8525b88c1d2886 (patch) | |
tree | 57e115a55860dafd46f299f2367081d7064fc72e /CMakeLists.txt | |
parent | 2ea594d6779cb2456f91c2cbe24e5242286836b5 (diff) |
Wipe services's module dir prior to make install
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
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 |