aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--third-party/cmake/InstallMsgpack.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/third-party/cmake/InstallMsgpack.cmake b/third-party/cmake/InstallMsgpack.cmake
index eda77f3b84..406f299723 100644
--- a/third-party/cmake/InstallMsgpack.cmake
+++ b/third-party/cmake/InstallMsgpack.cmake
@@ -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()