1
0
mirror of https://github.com/aap/librw.git synced 2025-03-21 17:24:51 +00:00
2024-08-16 18:54:20 +02:00

21 lines
391 B
CMake

add_executable(dumprwtree
dumprwtree.cpp
)
target_link_libraries(dumprwtree
PRIVATE
librw::librw
)
if(LIBRW_GL3_GFXLIB STREQUAL "SDL2")
target_compile_definitions(dumprwtree PRIVATE SDL_MAIN_HANDLED)
endif()
if(LIBRW_INSTALL)
install(TARGETS dumprwtree
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
)
endif()
librw_platform_target(dumprwtree INSTALL)