remove dependency on librt
- clock_gettime is provided by glibc Change-Id: Ic76c272d31581538ef4c2ad7adc22f836437c642
This commit is contained in:
parent
50ef7c0000
commit
a8597ac162
|
@ -352,11 +352,6 @@ else()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(CheckLibraryExists)
|
|
||||||
CHECK_LIBRARY_EXISTS(rt clock_gettime "time.h" HAVE_CLOCK_GETTIME)
|
|
||||||
if(HAVE_CLOCK_GETTIME)
|
|
||||||
link_libraries(rt)
|
|
||||||
endif(HAVE_CLOCK_GETTIME)
|
|
||||||
endif(MSVC)
|
endif(MSVC)
|
||||||
|
|
||||||
# setup variables needed for custom configuration type
|
# setup variables needed for custom configuration type
|
||||||
|
|
Loading…
Reference in New Issue