We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ae285b commit bcbc92aCopy full SHA for bcbc92a
cmake/modules/ProjectConfig.cmake
@@ -75,7 +75,12 @@ function(ue4ss_initialize_project)
75
76
# Unicode support
77
list(APPEND TARGET_COMPILE_DEFINITIONS _UNICODE UNICODE)
78
-
+
79
+ # Windows version targeting (Windows 10 and above)
80
+ if(WIN32)
81
+ list(APPEND TARGET_COMPILE_DEFINITIONS _WIN32_WINNT=0x0A00 WINVER=0x0A00)
82
+ endif()
83
84
# Export to parent scope
85
set(TARGET_COMPILE_DEFINITIONS ${TARGET_COMPILE_DEFINITIONS} PARENT_SCOPE)
86
0 commit comments