aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-01-14 15:40:06 +0100
committerThomas White <taw@physics.org>2019-01-14 15:40:06 +0100
commit238da95f7607955ba85fe34f5850f62c6df704cc (patch)
treed954b80a8d45637d77f5004945d1dca869580ba8
parent9437d86af6a45a6a4b20b519d34f49bb3528538b (diff)
clock_gettime isn't needed for libcrystfel
-rw-r--r--libcrystfel/CMakeLists.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/libcrystfel/CMakeLists.txt b/libcrystfel/CMakeLists.txt
index 3d7bec38..70d9c198 100644
--- a/libcrystfel/CMakeLists.txt
+++ b/libcrystfel/CMakeLists.txt
@@ -20,9 +20,6 @@ set(CMAKE_REQUIRED_DEFINITIONS "-D_GNU_SOURCE")
check_symbol_exists(sched_setaffinity "sched.h" HAVE_CPU_AFFINITY)
unset(CMAKE_REQUIRED_DEFINITIONS)
-# Check for nice clock function
-check_symbol_exists(clock_gettime "time.h" HAVE_CLOCK_GETTIME)
-
# Find out where forkpty() is declared
set(CMAKE_REQUIRED_LIBRARIES "-lutil")
check_symbol_exists(forkpty "pty.h" HAVE_FORKPTY_PTY_H)