mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
cmake: Pacify warning about Policy CMP0042 not being set.
This commit is contained in:
parent
80c6c2fa76
commit
73c6cebb80
@ -1642,7 +1642,9 @@ set(_INSTALL_LIBS "SDL2main")
|
|||||||
|
|
||||||
if(SDL_SHARED)
|
if(SDL_SHARED)
|
||||||
add_library(SDL2 SHARED ${SOURCE_FILES} ${VERSION_SOURCES})
|
add_library(SDL2 SHARED ${SOURCE_FILES} ${VERSION_SOURCES})
|
||||||
if(UNIX AND NOT ANDROID)
|
if(APPLE)
|
||||||
|
set_target_properties(SDL2 PROPERTIES MACOSX_RPATH 1)
|
||||||
|
elseif(UNIX AND NOT ANDROID)
|
||||||
set_target_properties(SDL2 PROPERTIES
|
set_target_properties(SDL2 PROPERTIES
|
||||||
VERSION ${LT_VERSION}
|
VERSION ${LT_VERSION}
|
||||||
SOVERSION ${LT_REVISION}
|
SOVERSION ${LT_REVISION}
|
||||||
|
Loading…
Reference in New Issue
Block a user