X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2FCMakeLists.txt;h=507c7beb578915ea5c8b27504eddafa617b97d42;hb=32b9c6152817326666c5d29e28c334c0559b088e;hp=78b93e3461fa5b421a465dbb3708e5406dd2fd6f;hpb=ffbb0a0e5d8915df208dc8042fd3338f04b01dfe;p=flightgear.git diff --git a/src/Main/CMakeLists.txt b/src/Main/CMakeLists.txt index 78b93e346..507c7beb5 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) @@ -65,6 +67,11 @@ source_group("Main\\Headers" FILES ${HEADERS}) source_group("Main\\Sources" FILES ${SOURCES}) add_executable(fgfs ${SOURCES} ${FG_SOURCES} ${FG_HEADERS} ${HEADERS}) +# disable sqlite3 dynamic lib support +# this should really be a SOURCE property, but the way we handle +# Fcomponent sources is making that tricky +add_definitions(-DSQLITE_OMIT_LOAD_EXTENSION) + get_property(FG_LIBS GLOBAL PROPERTY FG_LIBS) #message(STATUS "fg libs ${FG_LIBS}") #message(STATUS "OSG libs ${OPENSCENEGRAPH_LIBRARIES}") @@ -87,6 +94,7 @@ include_directories(${PROJECT_SOURCE_DIR}/src/Canvas/ShivaVG/include) add_definitions(-DVG_API_EXPORT) target_link_libraries(fgfs + ${SQLITE3_LIBRARY} ${SIMGEAR_LIBRARIES} ${OPENSCENEGRAPH_LIBRARIES} ${OPENGL_LIBRARIES}