Skip to content

Commit a53adf2

Browse files
authored
build(cmake): Force include CppMacros.h globally for VC6 (TheSuperHackers#2252)
1 parent c241dbc commit a53adf2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ if (IS_VS6_BUILD)
7272
add_subdirectory(Dependencies/MaxSDK)
7373
endif()
7474
add_subdirectory(Dependencies/Utility)
75+
76+
# To be removed when abandoning VC6
77+
if (IS_VS6_BUILD)
78+
include_directories(Dependencies/Utility)
79+
add_compile_options(/FIUtility/CppMacros.h)
80+
endif()
81+
7582
add_subdirectory(resources)
7683

7784
add_subdirectory(Core)

0 commit comments

Comments
 (0)