Switch to Xenial for Releases (#29) (Fix #25)

This commit is contained in:
Florian Märkl 2019-09-13 15:49:15 +02:00 committed by GitHub
commit c9401aa4b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 85 additions and 3 deletions

View file

@ -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}"