summaryrefslogtreecommitdiffhomepage
path: root/draw
diff options
context:
space:
mode:
Diffstat (limited to 'draw')
-rw-r--r--draw/CMakeLists.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/draw/CMakeLists.txt b/draw/CMakeLists.txt
index ded948b8..027c1e24 100644
--- a/draw/CMakeLists.txt
+++ b/draw/CMakeLists.txt
@@ -1,11 +1,7 @@
set(self floormat-draw)
file(GLOB sources "*.cpp" CONFIGURE_ARGS)
-add_library(${self} STATIC "${sources}")
-target_link_libraries(
- ${self} PUBLIC
- floormat
- Magnum::GL
-)
+add_library(${self} OBJECT "${sources}")
+target_link_libraries(${self} PUBLIC Magnum::GL floormat)
if(FLOORMAT_PRECOMPILED-HEADERS)
target_precompile_headers(${self} PRIVATE precomp.hpp)
endif()