Fix missing WinPR version requirement for RDTK
@@ -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
