From 2138fccfec0ca80cf5df170d627cef52b2b82e9f Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Sun, 27 Sep 2020 15:04:30 +0300 Subject: [PATCH] mdbx-cmake: remove dups. Change-Id: I1909ac16b1dcb55c9356283bf5fff94c1c8f7b4e --- CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6396934c..2e0fcac0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -537,10 +537,6 @@ else() add_library(mdbx-static STATIC EXCLUDE_FROM_ALL ${LIBMDBX_SOURCES}) endif() set_target_properties(mdbx-static PROPERTIES PUBLIC_HEADER mdbx.h) -if(MDBX_C_STANDARD) - set_target_properties(mdbx-static PROPERTIES - C_STANDARD ${MDBX_C_STANDARD} C_STANDARD_REQUIRED ON) -endif() target_compile_definitions(mdbx-static PRIVATE MDBX_BUILD_SHARED_LIBRARY=0) target_setup_options(mdbx-static) libmdbx_setup_libs(mdbx-static INTERFACE) @@ -556,10 +552,6 @@ endif() if(MDBX_BUILD_SHARED_LIBRARY) add_library(mdbx SHARED ${LIBMDBX_SOURCES}) set_target_properties(mdbx PROPERTIES PUBLIC_HEADER mdbx.h) - if(MDBX_C_STANDARD) - set_target_properties(mdbx PROPERTIES - C_STANDARD ${MDBX_C_STANDARD} C_STANDARD_REQUIRED ON) - endif() target_compile_definitions(mdbx PRIVATE LIBMDBX_EXPORTS MDBX_BUILD_SHARED_LIBRARY=1 INTERFACE LIBMDBX_IMPORTS) target_setup_options(mdbx) libmdbx_setup_libs(mdbx PRIVATE)