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 @@ -31,6 +31,14 @@ set_target_properties(librw_skeleton
3131 EXPORT_NAME skeleton
3232)
3333
34+
35+ if (LIBRW_PLATFORM_GL3 AND LIBRW_GL3_GFXLIB STREQUAL "SDL2" )
36+ target_compile_definitions (librw_skeleton
37+ PRIVATE
38+ SDL_MAIN_HANDLED
39+ )
40+ endif ()
41+
3442target_include_directories (librw_skeleton
3543 PUBLIC
3644 $<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