Skip to content

Commit 4769649

Browse files
committed
Force the correct use of the __cplusplus macro on Windows
1 parent 64d3161 commit 4769649

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Framework/cmake/SetupTargetSettings.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ endif ()
9999

100100
if (WIN32)
101101
multicast(target_compile_definitions PRIVATE "UIMGUI_PLATFORM_WINDOWS")
102+
multicast(target_compile_options PRIVATE "/Zc:__cplusplus")
102103
elseif (APPLE)
103104
multicast(target_compile_definitions PRIVATE "UIMGUI_PLATFORM_MACOS")
104105
elseif (EMSCRIPTEN)

0 commit comments

Comments
 (0)