diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-12-02 11:07:08 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-12-02 13:11:04 +0100 |
| commit | 93197c83cae3f3da5fb3f3ba55a7909336079a44 (patch) | |
| tree | aa2a386c6a1a5554779e8aa6fc7e689bac548306 /draw | |
| parent | 9a0ac7c7fd06a60f0e61b88828eaa59c0ee30fdd (diff) | |
cmake: try to fix ci link error
Diffstat (limited to 'draw')
| -rw-r--r-- | draw/CMakeLists.txt | 8 |
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() |
