1
0
Fork 0
flightgear/src/Navaids/CMakeLists.txt
James Turner 50c61b4211 Allow use of the system's SQLite3 library.
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.
2012-09-19 14:28:25 +01:00

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}")