Fix Add git revision, architecture and minimum os support to file properties.
@@ -490,12 +490,6 @@ if(WIN32)
message(FATAL_ERROR "Unknown generator ${CMAKE_GENERATOR}")
endif()
- # Set product and vendor for dll and exe version information.
- set(RC_VERSION_VENDOR ${VENDOR})
- set(RC_VERSION_PRODUCT ${PRODUCT})
- set(RC_VERSION_PATCH ${BUILD_NUMBER})
- set(RC_VERSION_DESCRIPTION ${GIT_REVISION})
-
string(TIMESTAMP RC_VERSION_YEAR "%Y")
if(NOT DEFINED CMAKE_WINDOWS_VERSION)
@@ -512,6 +506,12 @@ if(WIN32)
add_definitions(-DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00)
endif()
+ # Set product and vendor for dll and exe version information.
+ set(RC_VERSION_VENDOR ${VENDOR})
+ set(RC_VERSION_PRODUCT ${PRODUCT})
+ set(RC_VERSION_PATCH ${BUILD_NUMBER})
+ set(RC_VERSION_DESCRIPTION "${FREERDP_VERSION_FULL} ${GIT_REVISION} ${CMAKE_WINDOWS_VERSION} ${CMAKE_SYSTEM_PROCESSOR}")
+
if (FREERDP_EXTERNAL_SSL_PATH)
set(OPENSSL_ROOT_DIR ${FREERDP_EXTERNAL_SSL_PATH})
endif()
