From 59d4b8d72036ac51219b726a85ea58f1a85cac31 Mon Sep 17 00:00:00 2001 From: Bader Date: Fri, 29 Sep 2023 22:09:18 +0100 Subject: [PATCH] set BUILD_SHARED_LIBS to off --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f10c90c0a..922614ba6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,7 @@ project(tgbotxx VERSION "1.0.6.9" DESCRIPTION "Telegram Bot C++ Library" LANGUAG ################# Options ########################### option(ENABLE_TESTS "Enable/Disable building of tests" OFF) option(BUILD_DOCS "Build doxygen API documentation" OFF) +option(BUILD_SHARED_LIBS "Build tgbotxx as a shared/static library." OFF) ##################################################### @@ -58,4 +59,4 @@ if (ON)#ENABLE_TESTS) enable_testing() add_subdirectory(${CMAKE_SOURCE_DIR}/tests) endif() -#################### \ No newline at end of file +####################