diff options
Diffstat (limited to 'tools/ska2anm/CMakeLists.txt')
| -rw-r--r-- | tools/ska2anm/CMakeLists.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/ska2anm/CMakeLists.txt b/tools/ska2anm/CMakeLists.txt new file mode 100644 index 0000000..9a315c2 --- /dev/null +++ b/tools/ska2anm/CMakeLists.txt @@ -0,0 +1,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) |
