set(self floormat-main) file(GLOB sources "*.cpp" CONFIGURE_ARGS) add_library(${self} OBJECT "${sources}") target_link_libraries(${self} PUBLIC Magnum::Sdl2Application Corrade::Containers Magnum::GL Magnum::Trade fmt::fmt ) target_link_libraries(${self} PUBLIC floormat-draw floormat) if(FLOORMAT_PRECOMPILED-HEADERS) target_precompile_headers(${self} PRIVATE precomp.hpp) endif()