if (MSVC)
- if (CMAKE_CL_64)
- set( RESOURCE_FILE flightgear64.rc )
- else (CMAKE_CL_64)
- set( RESOURCE_FILE flightgear.rc )
- endif (CMAKE_CL_64)
+ set( RESOURCE_FILE flightgear.rc )
endif (MSVC)
set(SOURCES
util.cxx
positioninit.cxx
subsystemFactory.cxx
+ screensaver_control.cxx
${RESOURCE_FILE}
)
util.hxx
positioninit.hxx
subsystemFactory.hxx
+ AircraftDirVisitorBase.hxx
+ screensaver_control.hxx
)
get_property(FG_SOURCES GLOBAL PROPERTY FG_SOURCES)
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})
endif()
+if (CRASHRPT_FOUND)
+ target_link_libraries(fgfs ${CRASHRPT_LIBRARY})
+endif()
+
target_link_libraries(fgfs
${SQLITE3_LIBRARY}
${SIMGEAR_LIBRARIES}