]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/CMakeLists.txt
Fix for the fix: check for a viewer.
[flightgear.git] / src / Main / CMakeLists.txt
index aeade6aa0e271e60095e44b0494dfa81d263b2d0..9167ec960d99d744b4ad6082e42a93cdbfc4253a 100644 (file)
@@ -19,6 +19,7 @@ set(SOURCES
        util.cxx
     positioninit.cxx
     subsystemFactory.cxx
+    screensaver_control.cxx
        ${RESOURCE_FILE}
        )
 
@@ -37,6 +38,7 @@ set(HEADERS
     positioninit.hxx
     subsystemFactory.hxx
     AircraftDirVisitorBase.hxx
+    screensaver_control.hxx
        )
 
 get_property(FG_SOURCES GLOBAL PROPERTY FG_SOURCES)
@@ -90,6 +92,9 @@ endif()
 if(ENABLE_IAX)
     target_link_libraries(fgfs iaxclient_lib ${OPENAL_LIBRARY})
 endif()
+if(USE_DBUS)
+    target_link_libraries(fgfs ${DBUS_LIBRARIES})
+endif()
 if(FG_HAVE_GPERFTOOLS)
     include_directories(${GooglePerfTools_INCLUDE_DIR})
     target_link_libraries(fgfs ${GooglePerfTools_LIBRARIES})