[cmake] only check client deps for standalone builds

This commit is contained in:
akallabeth 2023-05-26 11:03:06 +02:00 committed by akallabeth
parent f941a1ec8e
commit 87b8c25392
1 changed files with 8 additions and 7 deletions

View File

@ -1,9 +1,10 @@
find_package(WinPR 3 REQUIRED)
include_directories(${WinPR_INCLUDE_DIR})
if (NOT FREERDP_UNIFIED_BUILD)
find_package(WinPR 3 REQUIRED)
include_directories(${WinPR_INCLUDE_DIR})
find_package(FreeRDP 3 REQUIRED)
include_directories(${FreeRDP_INCLUDE_DIR})
find_package(FreeRDP-Client 3 REQUIRED)
include_directories(${FreeRDP-Client_INCLUDE_DIR})
find_package(FreeRDP 3 REQUIRED)
include_directories(${FreeRDP_INCLUDE_DIR})
find_package(FreeRDP-Client 3 REQUIRED)
include_directories(${FreeRDP-Client_INCLUDE_DIR})
endif()