Fix MSVC build with Boost 1.82
This commit is contained in:
Родитель
e1bdb69920
Коммит
7f612e164a
|
@ -20,6 +20,11 @@ target_link_libraries(server PRIVATE
|
|||
star_wars
|
||||
graphqljson)
|
||||
|
||||
if(MSVC)
|
||||
target_compile_options(client PRIVATE "-wd4702")
|
||||
target_compile_options(server PRIVATE "-wd4702")
|
||||
endif()
|
||||
|
||||
if(WIN32 AND BUILD_SHARED_LIBS)
|
||||
add_custom_command(OUTPUT copied_sample_dlls
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
|
|
Загрузка…
Ссылка в новой задаче