summaryrefslogtreecommitdiff
path: root/tools/ska2anm/CMakeLists.txt
blob: 9a315c2ab69c1e346677fb14f787ab8808fde4ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
add_executable(ska2anm
    ska2anm.cpp
)

target_link_libraries(ska2anm
    PUBLIC
        librw::librw
)

if(LIBRW_GL3_GFXLIB MATCHES "SDL[23]")
    target_compile_definitions(ska2anm PRIVATE SDL_MAIN_HANDLED)
endif()

if(LIBRW_INSTALL)
    install(TARGETS ska2anm
        RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
    )
endif()

librw_platform_target(ska2anm INSTALL)