Skip to content

Commit a8597ac

Browse files
remove dependency on librt
- clock_gettime is provided by glibc Change-Id: Ic76c272d31581538ef4c2ad7adc22f836437c642
1 parent 50ef7c0 commit a8597ac

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

CMakeLists.txt

-5
Original file line numberDiff line numberDiff line change
@@ -352,11 +352,6 @@ else()
352352
endif()
353353
endif()
354354

355-
include(CheckLibraryExists)
356-
CHECK_LIBRARY_EXISTS(rt clock_gettime "time.h" HAVE_CLOCK_GETTIME)
357-
if(HAVE_CLOCK_GETTIME)
358-
link_libraries(rt)
359-
endif(HAVE_CLOCK_GETTIME)
360355
endif(MSVC)
361356

362357
# setup variables needed for custom configuration type

0 commit comments

Comments
 (0)