INCLUDE (CheckSymbolExists)
include (CMakeDependentOption)
include (GNUInstallDirs)
-include (${CMAKE_MODULE_PATH}/platform.cmake)
include (${CMAKE_MODULE_PATH}/boost.cmake)
include (${CMAKE_MODULE_PATH}/ragel.cmake)
add_definitions(-DNDEBUG)
endif()
+# Architecture detection
+
+include (${CMAKE_MODULE_PATH}/platform.cmake)
+
# Detect OS and if Fat Runtime is available
include (${CMAKE_MODULE_PATH}/osdetection.cmake)
set(FREEBSD true)
endif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
-option(FAT_RUNTIME "Build a library that supports multiple microarchitectures" OFF)
+if (ARCH_IA32 OR ARCH_X86_64)
+ option(FAT_RUNTIME "Build a library that supports multiple microarchitectures" ON)
+else()
+ option(FAT_RUNTIME "Build a library that supports multiple microarchitectures" OFF)
+endif()
+
if (FAT_RUNTIME)
message("Checking Fat Runtime Requirements...")
if (NOT LINUX)