X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=CMakeLists.txt;h=14ba182f2ea3f484ef6a84f3fffeee8e787c1137;hb=c556c62e38ad8f5b0423a91d919c13ac85a23f32;hp=382fb8d12117196c56c3daac87bf46a026d5f327;hpb=def46e1406409aebffa69097d83d7e1730352497;p=gdcm.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 382fb8d1..14ba182f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -132,6 +132,9 @@ CHECK_INCLUDE_FILE("stdint.h" CMAKE_HAVE_STDINT_H) IF(UNIX) #Avoid polluting Win32 cmakecache CHECK_INCLUDE_FILE("inttypes.h" CMAKE_HAVE_INTTYPES_H) ENDIF(UNIX) +# Special Time support, two convention: *NIX vs Win32 +CHECK_INCLUDE_FILE("sys/times.h" CMAKE_HAVE_SYS_TIMES_H) +CHECK_INCLUDE_FILE("sys/timeb.h" CMAKE_HAVE_SYS_TIMEB_H) # Check if header file exists and add it to the list. INCLUDE (${CMAKE_ROOT}/Modules/CheckIncludeFiles.cmake)