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
@ -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…
Reference in New Issue
Block a user