diff --git a/utils/fgpanel/CMakeLists.txt b/utils/fgpanel/CMakeLists.txt index 705fe92c7..8abc896e7 100644 --- a/utils/fgpanel/CMakeLists.txt +++ b/utils/fgpanel/CMakeLists.txt @@ -16,7 +16,7 @@ if(GLUT_FOUND) panel_io.cxx) target_link_libraries(fgpanel - -lrt + ${RT_LIBRARY} ${PNG_LIBRARIES} ${GLUT_LIBRARIES} ${SIMGEAR_LIBRARIES}