librw/tools/ska2anm/CMakeLists.txt

24 lines
420 B
CMake
Raw Normal View History

2021-03-23 17:00:09 +09:00
add_executable(ska2anm
ska2anm.cpp
)
if(LIBRW_PLATFORM_GL3 AND LIBRW_GL3_GFXLIB STREQUAL "SDL2")
target_compile_definitions(ska2anm
PRIVATE
SDL_MAIN_HANDLED
)
endif()
2021-03-23 17:00:09 +09:00
target_link_libraries(ska2anm
PUBLIC
librw::librw
2021-03-23 17:00:09 +09:00
)
2021-06-22 19:47:36 +02:00
librw_platform_target(ska2anm INSTALL)
if(LIBRW_INSTALL)
install(TARGETS ska2anm
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
)
endif()