From bc5c8afc0d5761fe74a685ac4e6301c62876d509 Mon Sep 17 00:00:00 2001 From: Marco Favorito Date: Sun, 21 Jan 2024 21:55:56 +0100 Subject: [PATCH] build: allow for shared libraries as dependencies --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b3b20d..af8b638 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,8 +13,9 @@ set(CMAKE_MODULE_PATH "${CMAKE_ROOT_DIR}/cmake/Modules" "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules") -set(CMAKE_FIND_LIBRARY_SUFFIXES ".a") -set(CMAKE_EXE_LINKER_FLAGS "-static -static-libgcc -static-libstdc++") +# TODO: make it configurable +#set(CMAKE_FIND_LIBRARY_SUFFIXES ".a") +#set(CMAKE_EXE_LINKER_FLAGS "-static -static-libgcc -static-libstdc++") set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)