summaryrefslogtreecommitdiffstats
path: root/libfreerdp/FreeRDPConfig.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'libfreerdp/FreeRDPConfig.cmake.in')
-rw-r--r--libfreerdp/FreeRDPConfig.cmake.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/libfreerdp/FreeRDPConfig.cmake.in b/libfreerdp/FreeRDPConfig.cmake.in
index 21ecd59..0052c3d 100644
--- a/libfreerdp/FreeRDPConfig.cmake.in
+++ b/libfreerdp/FreeRDPConfig.cmake.in
@@ -1,5 +1,11 @@
include(CMakeFindDependencyMacro)
find_dependency(WinPR @FREERDP_VERSION@)
+if("@cJSON_FOUND@" AND NOT "@BUILD_SHARED_LIBS@")
+ find_dependency(cJSON)
+endif()
+if("@WITH_SMARTCARD_EMULATE@" AND NOT "@BUILD_SHARED_LIBS@")
+ find_dependency(ZLIB)
+endif()
@PACKAGE_INIT@