We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 096d2e1 commit 6001581Copy full SHA for 6001581
1 file changed
CMakeLists.txt
@@ -33,13 +33,17 @@ endif()
33
# Top level project, doesn't really affect anything.
34
project(genzh LANGUAGES C CXX)
35
36
-if(WIN32)
37
- add_definitions(-D_WIN32_WINNT=0x0601)
38
-endif()
+add_definitions(-DD3D_DISABLE_9EX)
39
40
# This file handles extra settings wanted/needed for different compilers.
41
include(cmake/compilers.cmake)
42
+if(WIN32)
+ # Target Windows XP (0x0501) globally to ensure compatibility with the VC6 baseline
43
+ # and avoid conflicts with modern API definitions not supported by older SDKs.
44
+ add_definitions(-D_WIN32_WINNT=0x0501)
45
+endif()
46
+
47
# Debug symbol stripping for Release builds (MinGW)
48
include(cmake/debug_strip.cmake)
49
0 commit comments