]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/CMakeLists.txt
Make HTTPClient a proper subsystem.
[flightgear.git] / src / Main / CMakeLists.txt
index d3fc203ae0064dfcd80d3de7a8db43b385f13163..b6e00a208909688c9b833f079b6724f62835a7c7 100644 (file)
@@ -21,6 +21,7 @@ set(SOURCES
        options.cxx
        util.cxx
     positioninit.cxx
+    subsystemFactory.cxx
        ${RESOURCE_FILE}
        )
 
@@ -36,6 +37,7 @@ set(HEADERS
        options.hxx
        util.hxx
     positioninit.hxx
+    subsystemFactory.hxx
        )
 
 get_property(FG_SOURCES GLOBAL PROPERTY FG_SOURCES)
@@ -88,22 +90,22 @@ if(ENABLE_JSBSIM)
     target_link_libraries(fgfs JSBSim)
 endif()
 
-include_directories(${PROJECT_SOURCE_DIR}/src/Canvas/ShivaVG/include)
-add_definitions(-DVG_API_EXPORT)
+if(FG_HAVE_GPERFTOOLS)
+    target_link_libraries(fgfs profiler tcmalloc)
+endif()
 
 target_link_libraries(fgfs
+       ${SQLITE3_LIBRARY}
        ${SIMGEAR_LIBRARIES}
        ${OPENSCENEGRAPH_LIBRARIES}
        ${OPENGL_LIBRARIES}
        ${PLIB_LIBRARIES}
        ${JPEG_LIBRARY}
        ${HLA_LIBRARIES}
-    ${SQLITE3_LIBRARY}
        ${EVENT_INPUT_LIBRARIES}
        ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
        ${SIMGEAR_SCENE_LIBRARY_DEPENDENCIES}
        ${PLATFORM_LIBS}
-       ShivaVG
 )
 
 install(TARGETS fgfs RUNTIME DESTINATION bin)