Skip to content

Commit 9c7b3bc

Browse files
hahnjodevajithvs
authored andcommitted
[cling] Enable conforming preprocessor with MSVC
1 parent f8ea9f0 commit 9c7b3bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interpreter/cling/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ endif()
249249

250250
if(MSVC)
251251
add_definitions(/DNOMINMAX)
252+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zc:preprocessor")
252253
endif()
253254

254255
if (APPLE)

0 commit comments

Comments
 (0)