diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c985ad..f5e3abb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,7 +59,7 @@ endif () file(GLOB_RECURSE LIBRARY_SRC_FILES "src/*.cpp" "src/*.hpp" "CInterface/*.cpp" "CInterface/*.hpp") -add_library(CreatureLib SHARED ${LIBRARY_SRC_FILES}) +add_library(CreatureLib ${LIBTYPE} ${LIBRARY_SRC_FILES}) target_precompile_headers(CreatureLib PUBLIC src/Precompiled.hxx) # If interprocedural optimization is available, apply it