summaryrefslogtreecommitdiffhomepage
path: root/src/CMakeLists.txt
blob: 13b7d1ca9b6470bd7519da1d24ae33edcd7c39da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
set(self ${PROJECT_NAME})
file(GLOB sources "*.cpp" "../shaders/*.cpp" "../serialize/*.cpp" CONFIGURE_ARGS)
add_library(${self} STATIC "${sources}")
target_link_libraries(
        ${self} PUBLIC
        Magnum::GL
        Magnum::Magnum
        Magnum::Shaders
        nlohmann_json::nlohmann_json
)
if(FLOORMAT_PRECOMPILED-HEADERS)
    target_precompile_headers(${self} PRIVATE precomp.hpp)
endif()