Merge pull request #5524 from akallabeth/winpr_disable_tools

Allow build without WinPR tools
This commit is contained in:
Martin Fleisz 2019-08-14 15:59:27 +02:00 committed by GitHub
commit 0eadcbdd00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()