hedgewars/CMakeLists.txt
changeset 13943 3a0d09a31f5f
parent 13904 99b265e0d1d0
child 14865 9e8c201eae9d
--- a/hedgewars/CMakeLists.txt	Mon Oct 15 19:34:11 2018 +0200
+++ b/hedgewars/CMakeLists.txt	Mon Oct 15 21:40:32 2018 +0300
@@ -186,6 +186,10 @@
     list(APPEND sourcefiles_sofar "${CMAKE_CURRENT_SOURCE_DIR}/${loop_var}")
 endforeach(loop_var)
 
+if (WIN32 AND VCPKG_TOOLCHAIN)
+    add_definitions(-dWIN32_VCPKG)
+endif()
+
 
 #SOURCE AND PROGRAMS SECTION
 if(BUILD_ENGINE_LIBRARY)