From 32e495021f68a66619e7bd39d9cbefffc2d3a200 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Fri, 10 Dec 2021 17:15:53 +0300 Subject: [PATCH] mdbx-cmake: reporting the build options (cosmetics). --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a0053ea5..3a72d049 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -434,7 +434,7 @@ endif() # #### # # # #### # # #### # -set(MDBX_BUILD_OPTIONS ENABLE_ASAN MDBX_USE_VALGRIND ENABLE_GPROF ENABLE_GCOV) +set(MDBX_BUILD_OPTIONS ENABLE_UBSAN ENABLE_ASAN MDBX_USE_VALGRIND ENABLE_GPROF ENABLE_GCOV) macro(add_mdbx_option NAME DESCRIPTION DEFAULT) list(APPEND MDBX_BUILD_OPTIONS ${NAME}) if(NOT ${DEFAULT} STREQUAL "AUTO") @@ -863,7 +863,7 @@ else() endif() # options -set(options VERSION C_COMPILER CXX_COMPILER MDBX_BUILD_TARGET MDBX_BUILD_TYPE) +set(options VERSION C_COMPILER CXX_COMPILER MDBX_BUILD_TARGET MDBX_BUILD_TYPE ${MDBX_BUILD_OPTIONS}) foreach(item IN LISTS options) if(DEFINED ${item}) set(value "${${item}}") @@ -874,7 +874,7 @@ foreach(item IN LISTS options) set(item CMAKE_${item}) set(value "${${item}}") else() - set(value "undefined") + set(value "AUTO (not pre-defined explicitly)") endif() message(STATUS "${item}: ${value}") endforeach(item)