X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2FCMakeLists.txt;h=b6e00a208909688c9b833f079b6724f62835a7c7;hb=379e7a2fd56efc65887b55e419723903447d462d;hp=760c4d1395565a5160900ddfff7a015b13ae175d;hpb=9b900e94304b95337e2731946525cde4ef377da9;p=flightgear.git diff --git a/src/Main/CMakeLists.txt b/src/Main/CMakeLists.txt index 760c4d139..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,10 +90,12 @@ 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} @@ -102,7 +106,6 @@ target_link_libraries(fgfs ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES} ${SIMGEAR_SCENE_LIBRARY_DEPENDENCIES} ${PLATFORM_LIBS} - ShivaVG ) install(TARGETS fgfs RUNTIME DESTINATION bin)