mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[client,sdl] use versioned resource location
if WITH_BINARY_VERSIONING is ON also use versioned resource locations.
This commit is contained in:
@@ -62,6 +62,10 @@ if (SDL_USE_COMPILED_RESOURCES)
|
||||
add_definitions(-DSDL_USE_COMPILED_RESOURCES)
|
||||
else()
|
||||
set(SDL_RESOURCE_ROOT ${CMAKE_INSTALL_FULL_DATAROOTDIR}/FreeRDP)
|
||||
if (WITH_BINARY_VERSIONING)
|
||||
string(APPEND SDL_RESOURCE_ROOT "${PROJECT_VERSION_MAJOR}")
|
||||
endif()
|
||||
|
||||
add_definitions(-DSDL_RESOURCE_ROOT="${SDL_RESOURCE_ROOT}")
|
||||
|
||||
if (WITH_SDL_IMAGE_DIALOGS)
|
||||
|
||||
Reference in New Issue
Block a user