bx: Add /Zc:preprocessor

This commit is contained in:
Sandy Carter
2024-06-15 18:55:31 -04:00
parent 19cb98d40b
commit c0ce1388cc
5 changed files with 4 additions and 8 deletions

View File

@@ -22,10 +22,6 @@ if(APPLE AND NOT XCODE)
set(CMAKE_CXX_FLAGS "-ObjC++")
endif()
if(MSVC AND (MSVC_VERSION GREATER_EQUAL 1914))
add_compile_options("/Zc:__cplusplus")
endif()
include(CMakeDependentOption)
option(BX_AMALGAMATED "Amalgamated bx build for faster compilation" OFF)