Merge pull request #1642 from fwalch/msgpack-glob

CMake: Remove shared libraries for messagepack.
This commit is contained in:
Justin M. Keyes 2014-12-12 12:27:54 -05:00
commit 677a3f42c0

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()