From 0a84e792ee00863c7917d7348dfc2b5380773dee Mon Sep 17 00:00:00 2001 From: Peter M. Groen Date: Sun, 15 Jan 2023 18:27:36 +0100 Subject: [PATCH] Build library as dynamic --- CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 43c22bb..474b7b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ LIST( APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/submodules/cmake ) include(projectheader) project_header(osdev_logger) -set(BUILD_STATIC "ON") +set(BUILD_STATIC "OFF") add_subdirectory(src) add_subdirectory(tests) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 778769a..630e051 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.12) include(projectheader) project_header(logger) -set(BUILD_AS_STATIC "ON") +set(BUILD_AS_STATIC "OFF") include_directories( SYSTEM ) -- libgit2 0.21.4