option(EVENT_INPUT "Set to ON to build FlightGear with event-based Input support" ${EVENT_INPUT_DEFAULT})
option(ENABLE_LIBSVN "Set to ON to build FlightGear/terrasync with libsvnclient support (default)" ON)
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" ON)
+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)
check_include_file(windows.h HAVE_WINDOWS_H)
if(ENABLE_PROFILE)
- find_package(GooglePerfTools)
- if(GOOGLE_PERFTOOLS_FOUND)
- set(FG_HAVE_GPERFTOOLS 1)
- endif()
+ find_package(GooglePerfTools REQUIRED)
+ set(FG_HAVE_GPERFTOOLS 1)
+ message(STATUS "Built-in profiler using gperftools available")
endif()
if(ENABLE_RTI)