Skip to content

Commit

Permalink
remove dependency on librt
Browse files Browse the repository at this point in the history
- clock_gettime is provided by glibc

Change-Id: Ic76c272d31581538ef4c2ad7adc22f836437c642
  • Loading branch information
JacekDanecki authored and Compute-Runtime-Automation committed Mar 29, 2018
1 parent 50ef7c0 commit a8597ac
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,6 @@ else()
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)

# setup variables needed for custom configuration type
Expand Down

0 comments on commit a8597ac

Please sign in to comment.