diff --git a/CMakeLists.txt b/CMakeLists.txt index 551351e..4ba7d3d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -227,8 +227,10 @@ endif() if (TILE_BUILD_SHARED) add_library(tile SHARED ${TILE_SRCS}) + mesage(STATUS "Build tile shared library") else() - add_library(tile STATIC ${TILE_SRCS}) + add_library(tile OBJECT ${TILE_SRCS}) + mesage(STATUS "Build tile object library") endif() set_target_properties(tile PROPERTIES VERSION ${PROJECT_VERSION} target_precompile_headers(tile PUBLIC inja/inja.h)