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 b74406a commit e7d6878Copy full SHA for e7d6878
tests/CMakeLists.txt
@@ -64,6 +64,10 @@ function (add_sigcpp_test TEST_SOURCE_FILE)
64
add_test (NAME ${test_name}
65
# Help MSVC to find the library that the tests should link against.
66
COMMAND ${CMAKE_COMMAND} -E env "PATH=$<TARGET_FILE_DIR:sigc-${SIGCXX_API_VERSION}>;$ENV{PATH}" $<TARGET_FILE:${test_name}>)
67
+
68
+ if (MSVC AND test_name MATCHES "^(test_retype_return|test_signal)$")
69
+ target_compile_options(${test_name} PRIVATE "/wd4244")
70
+ endif()
71
endfunction (add_sigcpp_test)
72
73
foreach (test_file ${TEST_SOURCE_FILES})
0 commit comments