Commit 0a84e792ee00863c7917d7348dfc2b5380773dee
1 parent
91d99555
Build library as dynamic
Showing
2 changed files
with
2 additions
and
2 deletions
CMakeLists.txt
@@ -6,7 +6,7 @@ LIST( APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/submodules/cmake ) | @@ -6,7 +6,7 @@ LIST( APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/submodules/cmake ) | ||
6 | include(projectheader) | 6 | include(projectheader) |
7 | project_header(osdev_logger) | 7 | project_header(osdev_logger) |
8 | 8 | ||
9 | -set(BUILD_STATIC "ON") | 9 | +set(BUILD_STATIC "OFF") |
10 | 10 | ||
11 | add_subdirectory(src) | 11 | add_subdirectory(src) |
12 | add_subdirectory(tests) | 12 | add_subdirectory(tests) |
src/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.12) | @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.12) | ||
2 | include(projectheader) | 2 | include(projectheader) |
3 | project_header(logger) | 3 | project_header(logger) |
4 | 4 | ||
5 | -set(BUILD_AS_STATIC "ON") | 5 | +set(BUILD_AS_STATIC "OFF") |
6 | 6 | ||
7 | include_directories( SYSTEM | 7 | include_directories( SYSTEM |
8 | ) | 8 | ) |