50c61b4211
Keep distro packagers happy by having the option to use the system's sqlite library instead of our bundled version. Set SYSTEM_SQLITE=1 when running cmake to use the system one.
44 lines
No EOL
699 B
CMake
44 lines
No EOL
699 B
CMake
include(FlightGearComponent)
|
|
|
|
set(SOURCES
|
|
airways.cxx
|
|
fixlist.cxx
|
|
markerbeacon.cxx
|
|
navdb.cxx
|
|
navlist.cxx
|
|
navrecord.cxx
|
|
positioned.cxx
|
|
procedure.cxx
|
|
route.cxx
|
|
routePath.cxx
|
|
waypoint.cxx
|
|
LevelDXML.cxx
|
|
FlightPlan.cxx
|
|
NavDataCache.cxx
|
|
PositionedOctree.cxx
|
|
)
|
|
|
|
set(HEADERS
|
|
airways.hxx
|
|
fixlist.hxx
|
|
markerbeacon.hxx
|
|
navdb.hxx
|
|
navlist.hxx
|
|
navrecord.hxx
|
|
positioned.hxx
|
|
procedure.hxx
|
|
route.hxx
|
|
routePath.hxx
|
|
waypoint.hxx
|
|
LevelDXML.hxx
|
|
FlightPlan.hxx
|
|
NavDataCache.hxx
|
|
PositionedOctree.hxx
|
|
)
|
|
|
|
if (NOT SYSTEM_SQLITE)
|
|
list(APPEND SOURCES sqlite3.c)
|
|
list(APPEND HEADERS sqlite3.h)
|
|
endif()
|
|
|
|
flightgear_component(Navaids "${SOURCES}" "${HEADERS}") |