changeset 13384 | cf8abedaa878 |
parent 13326 | a4e7e62f2c0d |
--- 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)