Commit a8516cc3 authored by Harris Hancock's avatar Harris Hancock

Don't pass -Wno-deprecated-declarations to MSVC

parent 53ffcef9
......@@ -243,9 +243,11 @@ if(BUILD_TESTING)
${test_capnp_h_files}
)
target_link_libraries(capnp-heavy-tests ${test_libraries})
set_target_properties(capnp-heavy-tests
PROPERTIES COMPILE_FLAGS "-Wno-deprecated-declarations"
)
if(NOT MSVC)
set_target_properties(capnp-heavy-tests
PROPERTIES COMPILE_FLAGS "-Wno-deprecated-declarations"
)
endif()
add_dependencies(check capnp-heavy-tests)
add_test(NAME capnp-heavy-tests-run COMMAND capnp-heavy-tests)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment