bin/CMakeLists.txt
branchios-develop
changeset 13418 ba39a1d396c0
parent 13389 cf8abedaa878
--- a/bin/CMakeLists.txt	Sun Jun 10 18:56:51 2018 +0200
+++ b/bin/CMakeLists.txt	Sun Jun 10 19:12:26 2018 +0200
@@ -1,9 +1,6 @@
 if(WIN32 AND NOT UNIX)
-    file(GLOB 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)