mirror of
https://github.com/curl/curl.git
synced 2026-08-26 04:13:31 +03:00
cmake: delete MSVC warning suppression for tests/server
Server code no longer produces this warning. Closes #14428
This commit is contained in:
parent
b1153820f4
commit
493c6d79eb
1 changed files with 0 additions and 4 deletions
|
|
@ -23,10 +23,6 @@
|
||||||
###########################################################################
|
###########################################################################
|
||||||
set(TARGET_LABEL_PREFIX "Test server ")
|
set(TARGET_LABEL_PREFIX "Test server ")
|
||||||
|
|
||||||
if(MSVC)
|
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4306")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
function(setup_executable test_name) # ARGN are the files in the test
|
function(setup_executable test_name) # ARGN are the files in the test
|
||||||
add_executable(${test_name} EXCLUDE_FROM_ALL ${ARGN})
|
add_executable(${test_name} EXCLUDE_FROM_ALL ${ARGN})
|
||||||
add_dependencies(testdeps ${test_name})
|
add_dependencies(testdeps ${test_name})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue