diff --git a/client/SDL/dialogs/res/CMakeLists.txt b/client/SDL/dialogs/res/CMakeLists.txt index fd1de9880..5591e4af6 100644 --- a/client/SDL/dialogs/res/CMakeLists.txt +++ b/client/SDL/dialogs/res/CMakeLists.txt @@ -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)