X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2FCMakeLists.txt;h=b6e00a208909688c9b833f079b6724f62835a7c7;hb=379e7a2fd56efc65887b55e419723903447d462d;hp=d3fc203ae0064dfcd80d3de7a8db43b385f13163;hpb=50c61b42116d6bc3b21c90c8193a80d7ab1058e3;p=flightgear.git diff --git a/src/Main/CMakeLists.txt b/src/Main/CMakeLists.txt index d3fc203ae..b6e00a208 100644 --- a/src/Main/CMakeLists.txt +++ b/src/Main/CMakeLists.txt @@ -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)