Allow build without WinPR tools

This commit is contained in:
Armin Novak 2019-08-14 15:10:00 +02:00
parent 30c0127a29
commit 92ca3002e3
2 changed files with 3 additions and 1 deletions

View File

@ -79,6 +79,8 @@ option(BUILTIN_CHANNELS "Combine all channels into their respective base library
option(WITH_CHANNELS "Build virtual channel plugins" ON)
option(WITH_WINPR_TOOLS "Build WinPR helper binaries" ON)
cmake_dependent_option(WITH_CLIENT_CHANNELS "Build virtual channel plugins" ON
"WITH_CLIENT_COMMON;WITH_CHANNELS" OFF)

View File

@ -176,7 +176,7 @@ add_subdirectory(include)
add_subdirectory(libwinpr)
if(NOT ANDROID AND NOT IOS AND NOT UWP)
if(NOT ANDROID AND NOT IOS AND NOT UWP AND WITH_WINPR_TOOLS)
add_subdirectory(tools)
endif()