]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
cmake: default to fat runtime for release builds
authorMatthew Barr <matthew.barr@intel.com>
Mon, 12 Dec 2016 00:34:15 +0000 (11:34 +1100)
committerMatthew Barr <matthew.barr@intel.com>
Wed, 14 Dec 2016 04:35:19 +0000 (15:35 +1100)
CMakeLists.txt

index cfc33848ea0f47b8d1115c5b0249885625ca096d..760906b78fb896f9a2140f7190f6847a79334bf1 100644 (file)
@@ -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)