Skip to content

Commit 2e07a3d

Browse files
committed
Remove redundant compiler checks.
1 parent 4176bd9 commit 2e07a3d

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

libs/network/test/http/CMakeLists.txt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ if (Boost_FOUND)
1717
request_linearize_test
1818
)
1919
foreach ( test ${TESTS} )
20-
if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
21-
set_source_files_properties(${test}.cpp
22-
PROPERTIES COMPILE_FLAGS "-Wall")
23-
endif()
2420
add_executable(cpp-netlib-http-${test} ${test}.cpp)
2521
add_dependencies(cpp-netlib-http-${test}
2622
cppnetlib-uri)
@@ -43,10 +39,6 @@ if (Boost_FOUND)
4339
client_get_streaming_test
4440
)
4541
foreach ( test ${TESTS} )
46-
if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
47-
set_source_files_properties(${test}.cpp
48-
PROPERTIES COMPILE_FLAGS "-Wall")
49-
endif()
5042
add_executable(cpp-netlib-http-${test} ${test}.cpp)
5143
add_dependencies(cpp-netlib-http-${test}
5244
cppnetlib-uri
@@ -72,10 +64,6 @@ if (Boost_FOUND)
7264
server_async_run_stop_concurrency
7365
)
7466
foreach ( test ${SERVER_API_TESTS} )
75-
if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
76-
set_source_files_properties(${test}.cpp
77-
PROPERTIES COMPILE_FLAGS "-Wall")
78-
endif()
7967
add_executable(cpp-netlib-http-${test} ${test}.cpp)
8068
add_dependencies(cpp-netlib-http-${test} cppnetlib-server-parsers)
8169
target_link_libraries(cpp-netlib-http-${test} ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} cppnetlib-server-parsers)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy