From: Armin Novak Date: Wed, 4 Nov 2015 12:15:37 +0000 (+0100) Subject: Fixed WITH_CLIENT_CHANNELS dependencies. X-Git-Tag: 2.0.0-beta1+android10~391^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b7c35e122d970285bddf64d142b4c9ed964f45a;p=platform%2Fupstream%2Ffreerdp.git Fixed WITH_CLIENT_CHANNELS dependencies. --- diff --git a/cmake/ConfigOptions.cmake b/cmake/ConfigOptions.cmake index 871d816..9d501c1 100644 --- a/cmake/ConfigOptions.cmake +++ b/cmake/ConfigOptions.cmake @@ -62,15 +62,15 @@ option(WITH_SAMPLE "Build sample code" OFF) option(WITH_CLIENT_COMMON "Build client common library" ON) cmake_dependent_option(WITH_CLIENT "Build client binaries" ON WITH_CLIENT_COMMON ON) + option(WITH_SERVER "Build server binaries" OFF) option(STATIC_CHANNELS "Build channels statically" ON) option(WITH_CHANNELS "Build virtual channel plugins" ON) -if(WITH_CLIENT AND WITH_CHANNELS) - option(WITH_CLIENT_CHANNELS "Build virtual channel plugins" ON) -endif() +cmake_dependent_option(WITH_CLIENT_CHANNELS "Build virtual channel plugins" ON + "WITH_CLIENT_COMMON;WITH_CHANNELS" ON) if(WITH_SERVER AND WITH_CHANNELS) option(WITH_SERVER_CHANNELS "Build virtual channel plugins" ON)