summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-03-26 11:50:48 +0100
committerdimitri staessens <[email protected]>2016-03-26 11:50:48 +0100
commit413ca4527906121830ae3bb0f4d50c4df535bcd0 (patch)
tree65d8e0af0466d5d9e2d01c02bb4ad21cbd97d267 /src
parent35b00759a9616033aa19177ba3281eb9643509d2 (diff)
downloadouroboros-413ca4527906121830ae3bb0f4d50c4df535bcd0.tar.gz
ouroboros-413ca4527906121830ae3bb0f4d50c4df535bcd0.zip
build: lib/CMakelist now uses variables
Diffstat (limited to 'src')
-rw-r--r--src/lib/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
index 7ce98bf2..42a4d5c0 100644
--- a/src/lib/CMakeLists.txt
+++ b/src/lib/CMakeLists.txt
@@ -31,7 +31,7 @@ set(SOURCE_FILES
)
add_library(ouroboros SHARED ${SOURCE_FILES})
-target_link_libraries(ouroboros rt pthread)
+target_link_libraries(ouroboros ${LIBRT_LIBRARIES} ${LIBPTHREAD_LIBRARIES})
include(MacroAddCompileFlags)
if (CMAKE_BUILD_TYPE MATCHES Debug)