Skip to content

Commit dfc999a

Browse files
committed
Merge branch 'release'
2 parents b7d0d72 + 8a6da61 commit dfc999a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Common/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ unset(CMAKE_REQUIRED_INCLUDES)
4949
unset(CMAKE_REQUIRED_LIBRARIES)
5050

5151
#include(CheckSymbolExists)
52-
CHECK_FUNCTION_EXISTS(gettimeofday GDCM_HAVE_GETTIMEOFDAY)
52+
CHECK_SYMBOL_EXISTS(gettimeofday "sys/time.h" GDCM_HAVE_GETTIMEOFDAY)
5353
# json-c API changed:
5454
if(GDCM_USE_SYSTEM_JSON)
5555
set(CMAKE_REQUIRED_INCLUDES ${JSON_INCLUDE_DIRS})

0 commit comments

Comments
 (0)