mdbx-cmake: cosmetic fix for MDBX_BUILD_TYPE.

Change-Id: I26bfa69e268934d530acb1c85777d385730d573b
This commit is contained in:
Leonid Yuriev 2020-09-30 04:01:48 +03:00
parent fc965c57ac
commit 309f9a3172

View File

@ -790,6 +790,7 @@ endif()
if(CMAKE_CONFIGURATION_TYPES)
# via per-configuration define
add_definitions(-DMDBX_BUILD_TYPE="$<CONFIG>")
set(MDBX_BUILD_TYPE "<CONFIGURATION DEPENDENT>")
else()
set(MDBX_BUILD_TYPE ${CMAKE_BUILD_TYPE})
endif()