File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,14 @@ set_target_properties(librw_skeleton
2727 EXPORT_NAME skeleton
2828)
2929
30+
31+ if (LIBRW_PLATFORM_GL3 AND LIBRW_GL3_GFXLIB STREQUAL "SDL2" )
32+ target_compile_definitions (librw_skeleton
33+ PRIVATE
34+ SDL_MAIN_HANDLED
35+ )
36+ endif ()
37+
3038target_include_directories (librw_skeleton
3139 PUBLIC
3240 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} >
Original file line number Diff line number Diff line change @@ -2,6 +2,13 @@ add_executable(dumprwtree
22 dumprwtree.cpp
33)
44
5+ if (LIBRW_PLATFORM_GL3 AND LIBRW_GL3_GFXLIB STREQUAL "SDL2" )
6+ target_compile_definitions (dumprwtree
7+ PRIVATE
8+ SDL_MAIN_HANDLED
9+ )
10+ endif ()
11+
512target_link_libraries (dumprwtree
613 PRIVATE
714 librw::librw
Original file line number Diff line number Diff line change @@ -2,6 +2,13 @@ add_executable(ska2anm
22 ska2anm.cpp
33)
44
5+ if (LIBRW_PLATFORM_GL3 AND LIBRW_GL3_GFXLIB STREQUAL "SDL2" )
6+ target_compile_definitions (ska2anm
7+ PRIVATE
8+ SDL_MAIN_HANDLED
9+ )
10+ endif ()
11+
512target_link_libraries (ska2anm
613 PUBLIC
714 librw::librw
You can’t perform that action at this time.
0 commit comments