The proxy module sample is c++ 11 which some older build targets
do not like. Deactivate this by default.
CMAKE_DEPENDENT_OPTION(WITH_SHADOW "Compile with shadow server" ON "WITH_SERVER" OFF)
CMAKE_DEPENDENT_OPTION(WITH_PROXY "Compile with proxy server" ON "WITH_SERVER" OFF)
-CMAKE_DEPENDENT_OPTION(WITH_PROXY_MODULES "Compile proxy modules" ON "WITH_PROXY" OFF)
add_subdirectory(common)
if (WITH_SHADOW)
# See the License for the specific language governing permissions and
# limitations under the License.
+include(CMakeDependentOption)
set(MODULE_NAME "freerdp-proxy")
set(MODULE_PREFIX "FREERDP_SERVER_PROXY")
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "Server/proxy")
+CMAKE_DEPENDENT_OPTION(WITH_PROXY_MODULES "Compile proxy modules" OFF "WITH_PROXY" OFF)
if (WITH_PROXY_MODULES)
add_subdirectory("modules")
endif()