blob: 1ad37734adb8aa3349bffd3dbee43512ae753992 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
set(self ${PROJECT_NAME}-main)
file(GLOB sources "*.cpp" CONFIGURE_ARGS)
link_libraries(${PROJECT_NAME})
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()
|