2024-05-14 15:58:29 +03:00
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
if(NOT "@WITH_JSON_DISABLED@" AND NOT "@BUILD_SHARED_LIBS@")
|
|
|
|
if("@JSONC_FOUND@" AND NOT "@WITH_CJSON_REQUIRED@")
|
|
|
|
find_dependency(JSONC)
|
|
|
|
elseif("@CJSON_FOUND@")
|
|
|
|
find_dependency(cJSON)
|
|
|
|
endif()
|
|
|
|
endif()
|
2013-10-29 06:09:31 +04:00
|
|
|
|
|
|
|
@PACKAGE_INIT@
|
|
|
|
|
|
|
|
set(WinPR_VERSION_MAJOR "@WINPR_VERSION_MAJOR@")
|
|
|
|
set(WinPR_VERSION_MINOR "@WINPR_VERSION_MINOR@")
|
2013-10-29 23:16:44 +04:00
|
|
|
set(WinPR_VERSION_REVISION "@WINPR_VERSION_REVISION@")
|
2024-05-14 15:58:29 +03:00
|
|
|
set(WITH_WINPR_JSON "@WITH_WINPR_JSON@")
|
2013-10-29 06:09:31 +04:00
|
|
|
|
2013-10-29 22:47:40 +04:00
|
|
|
set_and_check(WinPR_INCLUDE_DIR "@PACKAGE_WINPR_INCLUDE_DIR@")
|
2013-10-29 06:09:31 +04:00
|
|
|
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/WinPRTargets.cmake")
|