summaryrefslogtreecommitdiff
path: root/tools/ska2anm/CMakeLists.txt
diff options
context:
space:
mode:
authorclaude-bot <[email protected]>2026-07-13 12:40:03 +0000
committerclaude-bot <[email protected]>2026-07-13 12:40:03 +0000
commit847962910f0bff071f3bf07c9abb87764fb6cac3 (patch)
treeddcd429e134c7fd5f72ddc97ced175de8d66fcd0 /tools/ska2anm/CMakeLists.txt
downloadlibrw-master.tar.gz
librw-master.zip
Import aap/librw @ masterHEADmaster
Snapshot for re3/reVC vendoring, per @lzcnt. Source: https://github.com/aap/librw (master).
Diffstat (limited to 'tools/ska2anm/CMakeLists.txt')
-rw-r--r--tools/ska2anm/CMakeLists.txt20
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)