# HG changeset patch # User unC0Rr # Date 1525725781 -10800 # Node ID cf8abedaa878511c38eb7bbe94c5008252f31f85 # Parent 354ceada9c40b25f3578f2816f6c481b288e645d Fix win32 package creation diff -r 354ceada9c40 -r cf8abedaa878 bin/CMakeLists.txt --- a/bin/CMakeLists.txt Sun May 06 00:48:43 2018 +0200 +++ b/bin/CMakeLists.txt Mon May 07 23:43:01 2018 +0300 @@ -1,9 +1,6 @@ if(WIN32 AND NOT UNIX) - file(GLOB_RECURSE DLLs *.dll) - file(GLOB ICOs *.ico) - - install(FILES - ${DLLs} - ${ICOs} - DESTINATION ${target_library_install_dir}) + install(DIRECTORY . + DESTINATION ${target_library_install_dir} + FILES_MATCHING PATTERN "*.dll" PATTERN "*.ico" + ) endif(WIN32 AND NOT UNIX)