CMake: Remove msgpack shared library in subdirectories.

This commit is contained in:
Florian Walch
2014-12-11 10:51:00 +01:00
parent 951d00a492
commit 71984d4126

View File

@@ -6,7 +6,7 @@ if(NOT res EQUAL 0)
message(FATAL_ERROR "Installing msgpack failed.")
endif()
file(GLOB FILES_TO_REMOVE ${REMOVE_FILE_GLOB})
file(GLOB_RECURSE FILES_TO_REMOVE ${REMOVE_FILE_GLOB})
if(FILES_TO_REMOVE)
file(REMOVE ${FILES_TO_REMOVE})
endif()