We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83c6e5a commit 13484a5Copy full SHA for 13484a5
external/jupyter-xeus/cpp-terminal/CMakeLists.txt
@@ -6,10 +6,12 @@ FetchContent_Declare(
6
7
set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL On)
8
9
-add_compile_options(
10
- -Wno-unused-variable
11
- -Wno-unused-but-set-variable
12
-)
+if (NOT CMAKE_CXX_SIMULATE_ID MATCHES "MSVC")
+ add_compile_options(
+ -Wno-unused-variable
+ -Wno-unused-but-set-variable
13
+ )
14
+endif()
15
16
set(CPPTERMINAL_BUILD_EXAMPLES Off CACHE STRING "")
17
set(CPPTERMINAL_ENABLE_INSTALL Off CACHE STRING "")
0 commit comments