File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
external/jupyter-xeus/cpp-terminal Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ set(BUILD_SHARED_LIBS Off CACHE STRING "")
2626message (STATUS "CXX_COMPILER_ID: ${CMAKE_CXX_COMPILER_ID} " )
2727message (STATUS "CXX_SIMULATE_ID: ${CMAKE_CXX_SIMULATE_ID} " )
2828
29- if (NOT CMAKE_CXX_SIMULATE_ID MATCHES "MSVC" )
29+ if (NOT CMAKE_CXX_COMPILER_ID MATCHES "MSVC" AND NOT CMAKE_CXX_SIMULATE_ID MATCHES "MSVC" )
3030 add_compile_options (-fsanitize=address)
3131 add_link_options (-fsanitize=address)
3232endif ()
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ FetchContent_Declare(
66
77set_directory_properties (PROPERTIES EXCLUDE_FROM_ALL On )
88
9- if (NOT CMAKE_CXX_SIMULATE_ID MATCHES "MSVC" )
9+ if (NOT CMAKE_CXX_COMPILER_ID MATCHES "MSVC" AND NOT CMAKE_CXX_SIMULATE_ID MATCHES "MSVC" )
1010 add_compile_options (
1111 -Wno-unused-variable
1212 -Wno-unused-but-set-variable
You can’t perform that action at this time.
0 commit comments