Milestone 5: deliver embedded RDP sessions and lifecycle hardening
This commit is contained in:
26
third_party/FreeRDP/winpr/WinPRConfig.cmake.in
vendored
Normal file
26
third_party/FreeRDP/winpr/WinPRConfig.cmake.in
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
include(CMakeFindDependencyMacro)
|
||||
|
||||
if(NOT "@BUILD_SHARED_LIBS@")
|
||||
if(NOT "@WITH_JSON_DISABLED@")
|
||||
if("@JSONC_FOUND@" AND NOT "@WITH_CJSON_REQUIRED@")
|
||||
find_dependency(JSONC)
|
||||
elseif("@CJSON_FOUND@")
|
||||
find_dependency(cJSON)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if("@WITH_URIPARSER@")
|
||||
find_dependency(uriparser)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@PACKAGE_INIT@
|
||||
|
||||
set(WinPR_VERSION_MAJOR "@WINPR_VERSION_MAJOR@")
|
||||
set(WinPR_VERSION_MINOR "@WINPR_VERSION_MINOR@")
|
||||
set(WinPR_VERSION_REVISION "@WINPR_VERSION_REVISION@")
|
||||
set(WITH_WINPR_JSON "@WITH_WINPR_JSON@")
|
||||
|
||||
set_and_check(WinPR_INCLUDE_DIR "@PACKAGE_WINPR_INCLUDE_DIR@")
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/WinPRTargets.cmake")
|
||||
Reference in New Issue
Block a user