Fix missing WinPR version requirement for RDTK

This commit is contained in:
Armin Novak 2022-02-10 09:53:02 +01:00 committed by akallabeth
parent 85f5dbd4b5
commit f2725d7850
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,7 @@ if (NOT FREERDP_UNIFIED_BUILD)
set(CMAKE_COLOR_MAKEFILE ON)
set(WINPR_VERSION_MAJOR 3)
option(BUILD_SHARED_LIBS "Build shared libraries" ON)
option(EXPORT_ALL_SYMBOLS "Export all symbols form library" OFF)
option(BUILD_TESTING "Build library unit tests" ON)
@ -45,6 +46,8 @@ if (NOT FREERDP_UNIFIED_BUILD)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
endif()
endif()
else()
set(WINPR_VERSION_MAJOR ${FREERDP_VERSION_MAJOR})
endif()
# Include our extra modules