Skip to content

Commit 7f612e1

Browse files
committed
Fix MSVC build with Boost 1.82
1 parent e1bdb69 commit 7f612e1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

samples/proxy/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ target_link_libraries(server PRIVATE
2020
star_wars
2121
graphqljson)
2222

23+
if(MSVC)
24+
target_compile_options(client PRIVATE "-wd4702")
25+
target_compile_options(server PRIVATE "-wd4702")
26+
endif()
27+
2328
if(WIN32 AND BUILD_SHARED_LIBS)
2429
add_custom_command(OUTPUT copied_sample_dlls
2530
COMMAND ${CMAKE_COMMAND} -E copy_if_different

0 commit comments

Comments
 (0)