Fix win32 package creation
authorunC0Rr
Mon, 07 May 2018 23:43:01 +0300
changeset 13389 cf8abedaa878
parent 13388 354ceada9c40
child 13396 04d1521cb7b8
Fix win32 package creation
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)