You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
204 B
CMake
8 lines
204 B
CMake
4 years ago
|
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)
|