Merge pull request #5524 from akallabeth/winpr_disable_tools
Allow build without WinPR tools
This commit is contained in:
commit
0eadcbdd00
@ -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)
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user