Skip to content

Commit

Permalink
Make rt lib configurable (#1765)
Browse files Browse the repository at this point in the history
  • Loading branch information
muneebahmed10 authored Dec 3, 2021
1 parent b714aa3 commit 75e545b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion platform/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ endif()

set(OpenSSL_FOUND ${OpenSSL_FOUND} CACHE INTERNAL "Indicates whether OpenSSL library was found.")

find_library(LIB_RT rt)
if( NOT DEFINED LIB_RT_NAME )
set( LIB_RT_NAME "rt" CACHE STRING "Name of the POSIX.1b Realtime Extensions library." )
endif()

find_library(LIB_RT ${LIB_RT_NAME})


# Add the posix targets
Expand Down

0 comments on commit 75e545b

Please sign in to comment.