diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-04-16 10:51:51 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-04-16 10:51:51 +0200 |
commit | 10c89779f8ee0a08d6f863ebe969356e14bc374e (patch) | |
tree | f4cc1039c41d78ee7f251104a378ac8aa750c029 /src | |
parent | 344212516416eef32b0557b63197b9cbd7b3cb31 (diff) | |
download | fastd-10c89779f8ee0a08d6f863ebe969356e14bc374e.tar fastd-10c89779f8ee0a08d6f863ebe969356e14bc374e.zip |
Use -pthread instead of library
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 84f25fe..ea1e8c9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -24,6 +24,7 @@ add_executable(fastd ${BISON_fastd_config_parse_OUTPUTS} ${METHODS} ) -target_link_libraries(fastd rt ${CMAKE_THREAD_LIBS_INIT} ${UECC_LIBRARY} ${NACL_LIBRARY}) +set_target_properties(fastd PROPERTIES COMPILE_FLAGS -pthread LINK_FLAGS -pthread) +target_link_libraries(fastd rt ${UECC_LIBRARY} ${NACL_LIBRARY}) install(TARGETS fastd RUNTIME DESTINATION sbin) |