@@ -17,10 +17,6 @@ if (Boost_FOUND)
1717request_linearize_test
1818 )
1919 foreach (test ${TESTS} )
20- if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
21- set_source_files_properties (${test} .cpp
22- PROPERTIESCOMPILE_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- PROPERTIESCOMPILE_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- PROPERTIESCOMPILE_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)