mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
8 lines
204 B
CMake
8 lines
204 B
CMake
|
add_library(SDL2::SDL2 INTERFACE IMPORTED)
|
||
|
set_target_properties(SDL2::SDL2 PROPERTIES
|
||
|
INTERFACE_COMPILE_OPTIONS "-sUSE_SDL=2"
|
||
|
INTERFACE_LINK_LIBRARIES "-sUSE_SDL=2"
|
||
|
)
|
||
|
|
||
|
set(SDL2_FOUND on)
|