if (CRASHRPT_FOUND)
target_link_libraries(fgfs ${CRASHRPT_LIBRARY})
endif()
-
+if(X11_FOUND)
+ target_link_libraries(fgfs ${X11_LIBRARIES})
+endif()
target_link_libraries(fgfs
${SQLITE3_LIBRARY}
${SIMGEAR_LIBRARIES}
${OPENSCENEGRAPH_LIBRARIES}
${OPENGL_LIBRARIES}
${PLIB_LIBRARIES}
+ ${ZLIB_LIBRARY}
${HLA_LIBRARIES}
${EVENT_INPUT_LIBRARIES}
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
)
if(ENABLE_FLITE)
-target_link_libraries(fgfs hts_engine flite_hts)
+ if(SYSTEM_HTS_ENGINE)
+ target_link_libraries(fgfs flite_hts ${HTS_ENGINE_LIBRARIES})
+ else()
+ target_link_libraries(fgfs flite_hts hts_engine)
+ endif()
+endif()
+
+if (Qt5Core_FOUND)
+ target_link_libraries(fgfs Qt5::Widgets fglauncher)
endif()
if (APPLE)