]> git.mxchange.org Git - flightgear.git/commitdiff
Use cmake provided variable for librt.
authorMathias Froehlich <Mathias.Froehlich@web.de>
Sun, 24 Jul 2011 12:38:29 +0000 (14:38 +0200)
committerMathias Froehlich <Mathias.Froehlich@web.de>
Sun, 24 Jul 2011 12:38:29 +0000 (14:38 +0200)
utils/fgpanel/CMakeLists.txt

index 705fe92c7d2fed42b16c127a01843603b10a2678..8abc896e7c4a39dd14b379b9b8abc5165ac19586 100644 (file)
@@ -16,7 +16,7 @@ if(GLUT_FOUND)
                panel_io.cxx)
 
        target_link_libraries(fgpanel 
-               -lrt
+               ${RT_LIBRARY}
                ${PNG_LIBRARIES}
                ${GLUT_LIBRARIES}
                ${SIMGEAR_LIBRARIES}