mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-23 09:54:26 +08:00
Add find_dependency for link lib targets
This commit is contained in:
parent
56a3955af4
commit
d6fcacd47a
@ -1,6 +1,9 @@
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(WinPR @FREERDP_VERSION@)
|
||||
find_dependency(FreeRDP @FREERDP_VERSION@)
|
||||
if("@WITH_SMARTCARD_EMULATE@")
|
||||
find_dependency(ZLIB)
|
||||
endif()
|
||||
|
||||
@PACKAGE_INIT@
|
||||
|
||||
|
@ -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@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user