From c337ac665b3284881c8a978a8c20c58c8d1b6dbd Mon Sep 17 00:00:00 2001 From: Matthew Barr Date: Mon, 12 Dec 2016 11:34:15 +1100 Subject: [PATCH] cmake: default to fat runtime for release builds --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cfc33848..760906b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -258,7 +258,7 @@ endif() if (CMAKE_SYSTEM_NAME MATCHES "Linux") # This is a Linux-only feature for now - requires platform support # elsewhere - option(FAT_RUNTIME "Build a library that supports multiple microarchitecures" RELEASE_BUILD) + option(FAT_RUNTIME "Build a library that supports multiple microarchitecures" ${RELEASE_BUILD}) if (FAT_RUNTIME) include (${CMAKE_MODULE_PATH}/attrib.cmake) if (NOT HAS_C_ATTR_IFUNC)