mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 02:36:51 -07:00
parent
57418e5e33
commit
c9401aa4b2
6 changed files with 85 additions and 3 deletions
|
@ -8,6 +8,7 @@ if(SDL2_FOUND AND (NOT TARGET SDL2::SDL2))
|
|||
endif()
|
||||
find_library(SDL2_LIBRARY SDL2 PATHS "${SDL2_LIBDIR}" NO_DEFAULT_PATH)
|
||||
if(SDL2_LIBRARY)
|
||||
string(STRIP "${SDL2_LIBRARIES}" SDL2_LIBRARIES)
|
||||
set_target_properties(SDL2::SDL2 PROPERTIES
|
||||
IMPORTED_LOCATION "${SDL2_LIBRARY}"
|
||||
IMPORTED_LINK_INTERFACE_LIBRARIES "${SDL2_LIBRARIES}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue