mirror of https://gitee.com/bigwinds/arangodb
Fixed incorrectly evaluated cmake
This commit is contained in:
parent
c64d2d8d78
commit
d670537e3b
|
@ -354,9 +354,11 @@ if (APPLE)
|
|||
${CMAKE_SOURCE_DIR}/cmake/test_clock_gettime.c
|
||||
OUTPUT_VARIABLE OUTPUT_CLOCK_GETTIME)
|
||||
|
||||
if (${COMPILE_CLOCK_GETTIME} AND ${RUN_CLOCK_GETTIME} STREQUAL "FAILED_TO_RUN")
|
||||
if (${COMPILE_CLOCK_GETTIME})
|
||||
if (${RUN_CLOCK_GETTIME} STREQUAL "FAILED_TO_RUN")
|
||||
set(USE_LOCAL_CLOCK_GETTIME TRUE)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
if (USE_LOCAL_CLOCK_GETTIME)
|
||||
message(STATUS "using a home-made clock_gettime")
|
||||
|
|
Loading…
Reference in New Issue