X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=CMakeLists.txt;h=49916a08f2f0685091fa8467719f5a8e20b91de5;hb=a5775cdb944ed529eb97f4fa819b779d3441eaa7;hp=a72da9c86a1a0fe4d1c105b4caf0cf2679c3d51f;hpb=25c388178284a772e7abd6c70ecc7de487d70d14;p=simgear.git diff --git a/CMakeLists.txt b/CMakeLists.txt index a72da9c8..49916a08 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,6 +21,7 @@ option(SIMGEAR_SHARED "Set to ON to build SimGear as a shared library/framework" option(SIMGEAR_HEADLESS "Set to ON to build SimGear without GUI/graphics support" OFF) option(JPEG_FACTORY "Enable JPEG-factory support" OFF) option(ENABLE_LIBSVN "Set to ON to build SimGear with libsvnclient support" ON) +option(ENABLE_RTI "Set to ON to build SimGear with RTI support" OFF) set(MSVC_3RDPARTY_ROOT NOT_FOUND CACHE PATH "Location where the third-party dependencies are extracted") @@ -86,8 +87,10 @@ check_include_file(sys/timeb.h HAVE_SYS_TIMEB_H) check_include_file(unistd.h HAVE_UNISTD_H) check_include_file(windows.h HAVE_WINDOWS_H) +if(ENABLE_RTI) # See if we have any rti library variant installed find_package(RTI) +endif(ENABLE_RTI) check_function_exists(gettimeofday HAVE_GETTIMEOFDAY) check_function_exists(ftime HAVE_FTIME)