summaryrefslogtreecommitdiffhomepage
path: root/main/CMakeLists.txt
blob: a84337cc580cc8cfe6b5a95d863b6e5cb5fef67a (plain)
1
2
3
4
5
6
7
8
9
10
11
set(self floormat-main)
file(GLOB sources "*.cpp" CONFIGURE_ARGS)

link_libraries(floormat-draw floormat)
link_libraries(Magnum::Sdl2Application Corrade::Containers Magnum::GL Magnum::Trade fmt::fmt)

add_library(${self} STATIC "${sources}")

if(FLOORMAT_PRECOMPILED-HEADERS)
    target_precompile_headers(${self} PRIVATE precomp.hpp)
endif()