Commit 0a84e792ee00863c7917d7348dfc2b5380773dee

Authored by Peter M. Groen
1 parent 91d99555

Build library as dynamic

CMakeLists.txt
... ... @@ -6,7 +6,7 @@ LIST( APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/submodules/cmake )
6 6 include(projectheader)
7 7 project_header(osdev_logger)
8 8  
9   -set(BUILD_STATIC "ON")
  9 +set(BUILD_STATIC "OFF")
10 10  
11 11 add_subdirectory(src)
12 12 add_subdirectory(tests)
... ...
src/CMakeLists.txt
... ... @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.12)
2 2 include(projectheader)
3 3 project_header(logger)
4 4  
5   -set(BUILD_AS_STATIC "ON")
  5 +set(BUILD_AS_STATIC "OFF")
6 6  
7 7 include_directories( SYSTEM
8 8 )
... ...