diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-08-15 07:07:42 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-08-15 07:07:42 +0200 |
commit | 0565d0e84348bd15e79f48c0059ef748b80e43a0 (patch) | |
tree | 942717dbca1c016e4b8befa650f1adc5f35aa5b1 /src | |
parent | d6b829effe803c60b14e00cab4d9d6f801dcaae2 (diff) | |
download | fastd-0565d0e84348bd15e79f48c0059ef748b80e43a0.tar fastd-0565d0e84348bd15e79f48c0059ef748b80e43a0.zip |
Always compile with -Wall (and fix other property settings)
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6c507ae..d5cba98 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -38,7 +38,9 @@ add_executable(fastd ${BISON_fastd_config_parse_OUTPUTS} ${METHODS} ) -set_target_properties(fastd PROPERTIES COMPILE_FLAGS -pthread ${UECC_CFLAGS_OTHER} COMPILE_DEFINITIONS _GNU_SOURCE LINK_FLAGS -pthread ${UECC_LDFLAGS_OTHER}) +set_property(TARGET fastd PROPERTY COMPILE_FLAGS "-Wall -pthread ${UECC_CFLAGS_OTHER}") +set_property(TARGET fastd PROPERTY COMPILE_DEFINITIONS _GNU_SOURCE) +set_property(TARGET fastd PROPERTY LINK_FLAGS "-pthread ${UECC_LDFLAGS_OTHER}") target_link_libraries(fastd ${RT_LIBRARY} ${CAP_LIBRARY} ${UECC_LIBRARIES} ${NACL_LIBRARY}) add_custom_target( |