Default proxy modules to OFF
The proxy module sample is c++ 11 which some older build targets do not like. Deactivate this by default.
This commit is contained in:
parent
a6d0b67ca6
commit
cffbbacccd
@ -20,7 +20,6 @@ include(CMakeDependentOption)
|
|||||||
|
|
||||||
CMAKE_DEPENDENT_OPTION(WITH_SHADOW "Compile with shadow server" ON "WITH_SERVER" OFF)
|
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 "Compile with proxy server" ON "WITH_SERVER" OFF)
|
||||||
CMAKE_DEPENDENT_OPTION(WITH_PROXY_MODULES "Compile proxy modules" ON "WITH_PROXY" OFF)
|
|
||||||
|
|
||||||
add_subdirectory(common)
|
add_subdirectory(common)
|
||||||
if (WITH_SHADOW)
|
if (WITH_SHADOW)
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
include(CMakeDependentOption)
|
||||||
set(MODULE_NAME "freerdp-proxy")
|
set(MODULE_NAME "freerdp-proxy")
|
||||||
set(MODULE_PREFIX "FREERDP_SERVER_PROXY")
|
set(MODULE_PREFIX "FREERDP_SERVER_PROXY")
|
||||||
|
|
||||||
@ -88,6 +89,7 @@ endif()
|
|||||||
|
|
||||||
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "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)
|
if (WITH_PROXY_MODULES)
|
||||||
add_subdirectory("modules")
|
add_subdirectory("modules")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user