From: Matthew Barr Date: Mon, 12 Dec 2016 00:34:15 +0000 (+1100) Subject: cmake: default to fat runtime for release builds X-Git-Tag: v4.4.0^2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c337ac665b3284881c8a978a8c20c58c8d1b6dbd;p=thirdparty%2Fvectorscan.git cmake: default to fat runtime for release builds --- 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)