mirror of
https://github.com/ntop/n2n.git
synced 2024-09-20 00:51:10 +02:00
parent
028d6f9b07
commit
3856d62e8f
|
@ -49,7 +49,7 @@ if(N2N_OPTION_USE_PTHREAD)
|
||||||
find_library(PTHREAD_LIB pthread)
|
find_library(PTHREAD_LIB pthread)
|
||||||
if(NOT PTHREAD_LIB)
|
if(NOT PTHREAD_LIB)
|
||||||
MESSAGE(FATAL_ERROR "libpthread not found.")
|
MESSAGE(FATAL_ERROR "libpthread not found.")
|
||||||
endif(PTHREAD_LIB)
|
endif(NOT PTHREAD_LIB)
|
||||||
MESSAGE(INFO "Using libpthread.")
|
MESSAGE(INFO "Using libpthread.")
|
||||||
ADD_DEFINITIONS("-DHAVE_PTHREAD")
|
ADD_DEFINITIONS("-DHAVE_PTHREAD")
|
||||||
target_link_libraries(n2n pthread)
|
target_link_libraries(n2n pthread)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user