]> git.mxchange.org Git - flightgear.git/commitdiff
Restore ENABLE_IAX
authorClément de l'Hamaide <clemaez@hotmail.fr>
Fri, 27 Sep 2013 18:24:19 +0000 (20:24 +0200)
committerClément de l'Hamaide <clemaez@hotmail.fr>
Fri, 27 Sep 2013 18:24:42 +0000 (20:24 +0200)
3rdparty/CMakeLists.txt
CMakeLists.txt

index bac99400013fd96f6f74bdb138f8af5cd528417a..72588c9fee59e25b57333742b5cd84fcceb0aea8 100644 (file)
@@ -3,4 +3,6 @@ if (NOT SYSTEM_SQLITE)
     add_subdirectory(sqlite3)
 endif()
 
-add_subdirectory(iaxclient/lib)
+if (ENABLE_IAX)
+    add_subdirectory(iaxclient/lib)
+endif()
index 4b10ff4ebc0c9c99a71f2f7947604d5b2ec60b1d..809c48c5c389b987ad452bfe97947bacbd3fcfef 100644 (file)
@@ -141,6 +141,7 @@ option(ENABLE_RTI        "Set to ON to build FlightGear with RTI support" OFF)
 option(ENABLE_PROFILE    "Set to ON to build FlightGear with gperftools profiling support" OFF)
 option(JPEG_FACTORY      "Set to ON to build FlightGear with JPEG-factory support" OFF)
 option(SYSTEM_SQLITE     "Set to ON to build FlightGear with the system's SQLite3 library" OFF)
+option(ENABLE_IAX        "Set to ON to build FlightGear with IAXClient/fgcom built-in (default)" ON)
 
 # additional utilities
 option(ENABLE_FGADMIN    "Set to ON to build the FGADMIN application (default)" ON)
@@ -165,6 +166,10 @@ if(SP_FDMS)
     set(ENABLE_SP_FDM 1)
 endif()
 
+if(ENABLE_FGCOM)
+  set(ENABLE_IAX 1)
+endif()
+
 # Setup MSVC 3rd party directories
 include( ConfigureMsvc3rdParty )