summaryrefslogtreecommitdiffhomepage
path: root/src/CMakeLists.txt
blob: e443a9dfb143c2d9193f376c704c8d58a8db563d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
)
target_include_directories(${self} PRIVATE ${GLM_INCLUDE_DIRS})
target_include_directories(${self} PRIVATE magnum-integration/src)