From 5d1aec6a36bbfb3af3465b34096a5b4e49ce487f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 30 Oct 2013 21:10:38 +0100 Subject: fix x-plane 9 librt Signed-off-by: Stanislaw Halik --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1aafaa16..233e22c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -328,6 +328,9 @@ if(SDK_XPLANE) LIBRARY_OUTPUT_NAME "facetracknoir.xpl" PREFIX "" SUFFIX "") endif() + if(UNIX) + target_link_libraries(opentrack-xplane-plugin rt) + endif() endif() # some boilerplate -- cgit v1.2.3