From 4ea07639b87fc0787f55ec9717b4857f43e099c7 Mon Sep 17 00:00:00 2001 From: fredzio Date: Wed, 14 Oct 2020 06:15:23 +0200 Subject: [PATCH] Unbreak build with cmake < 3.12 This reverts commit 3cadc16f88ed010afdf9fac1adadc7aabbbcc484. --- components/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/CMakeLists.txt b/components/CMakeLists.txt index 6e0f4a65f..7f44cf6fb 100644 --- a/components/CMakeLists.txt +++ b/components/CMakeLists.txt @@ -212,7 +212,7 @@ endif () include_directories(${BULLET_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR}) -add_library(components OBJECT ${COMPONENT_FILES} ${MOC_SRCS} ${ESM_UI_HDR}) +add_library(components STATIC ${COMPONENT_FILES} ${MOC_SRCS} ${ESM_UI_HDR}) target_link_libraries(components ${Boost_SYSTEM_LIBRARY}