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 1bc458a commit b65bf15Copy full SHA for b65bf15
samples/today/CMakeLists.txt
@@ -15,6 +15,12 @@ add_library(todaygraphql_nointrospection STATIC TodayMock.cpp)
15
target_link_libraries(todaygraphql_nointrospection PUBLIC today_nointrospection_schema)
16
target_include_directories(todaygraphql_nointrospection PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
17
18
+if(MSVC)
19
+ # warning C4702: unreachable code
20
+ target_compile_options(todaygraphql PUBLIC /wd4702)
21
+ target_compile_options(todaygraphql_nointrospection PUBLIC /wd4702)
22
+endif()
23
+
24
# sample
25
add_executable(sample sample.cpp)
26
target_link_libraries(sample PRIVATE
0 commit comments