mirror of https://github.com/FreeRDP/FreeRDP
[server,sample] fix resource location
if binary versioning is enabled the installation path was wrong.
This commit is contained in:
parent
897f0adcae
commit
e8d1bc5f4b
|
@ -48,9 +48,10 @@ if (WIN32)
|
|||
set ( SRCS ${SRCS} ${CMAKE_CURRENT_BINARY_DIR}/version.rc)
|
||||
endif()
|
||||
|
||||
set(SAMPLE_RESOURCE_ROOT ${CMAKE_INSTALL_FULL_DATAROOTDIR}/FreeRDP/images)
|
||||
if (WITH_BINARY_VERSIONING)
|
||||
string(APPEND SAMPLE_RESOURCE_ROOT "${PROJECT_VERSION_MAJOR}")
|
||||
set(SAMPLE_RESOURCE_ROOT ${CMAKE_INSTALL_FULL_DATAROOTDIR}/FreeRDP${FREERDP_VERSION_MAJOR}/images)
|
||||
else()
|
||||
set(SAMPLE_RESOURCE_ROOT ${CMAKE_INSTALL_FULL_DATAROOTDIR}/FreeRDP/images)
|
||||
endif()
|
||||
|
||||
set(SAMPLE_ICONS
|
||||
|
|
Loading…
Reference in New Issue