mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-01 21:13:13 +01:00
fix test_fork
* was problem on debian/wheezy
This commit is contained in:
@@ -123,6 +123,10 @@ set(CMAKE_REQUIRED_LIBRARIES rt)
|
||||
check_function_exists(clock_gettime HAVE_CLOCK_GETTIME)
|
||||
set(CMAKE_REQUIRED_LIBRARIES )
|
||||
|
||||
set(CMAKE_REQUIRED_INCLUDES unistd.h)
|
||||
check_function_exists(fork HAVE_FORK)
|
||||
set(CMAKE_REQUIRED_INCLUDES )
|
||||
|
||||
set(CMAKE_REQUIRED_INCLUDES sys/time.h)
|
||||
check_function_exists(gethrtime HAVE_GETHRTIME)
|
||||
set(CMAKE_REQUIRED_INCLUDES )
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#cmakedefine ZMQ_FORCE_MUTEXES
|
||||
|
||||
|
||||
#cmakedefine01 HAVE_FORK
|
||||
#cmakedefine HAVE_CLOCK_GETTIME
|
||||
#cmakedefine HAVE_GETHRTIME
|
||||
#cmakedefine ZMQ_HAVE_UIO
|
||||
|
||||
Reference in New Issue
Block a user