Use BUILD_SHARED_LIBS as default value for REFLECTCPP_BUILD_SHARED

This commit is contained in:
Heiko Lewin
2024-04-01 12:16:17 +02:00
parent 1dcd6af373
commit 78554708dc
+1 -1
View File
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.15)
option(REFLECTCPP_BUILD_SHARED "Build shared library" OFF)
option(REFLECTCPP_BUILD_SHARED "Build shared library" ${BUILD_SHARED_LIBS})
option(REFLECTCPP_BSON "Enable BSON support" OFF)
option(REFLECTCPP_CBOR "Enable CBOR support" OFF)
option(REFLECTCPP_FLEXBUFFERS "Enable flexbuffers support" OFF)