mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[cmake] drop legacy and unused cmake_policy
Some cmake_policy settings have long been active by default (3.13 is our current baseline) or simply unused. Due to issues with CMake 4.0 lets drop them
This commit is contained in:
@@ -18,13 +18,6 @@
|
||||
set(MODULE_NAME "freerdp-server")
|
||||
set(MODULE_PREFIX "FREERDP_SERVER")
|
||||
|
||||
# Policy CMP0022: INTERFACE_LINK_LIBRARIES defines the link
|
||||
# interface. Run "cmake --help-policy CMP0022" for policy details. Use the
|
||||
# cmake_policy command to set the policy and suppress this warning.
|
||||
if(POLICY CMP0022)
|
||||
cmake_policy(SET CMP0022 NEW)
|
||||
endif()
|
||||
|
||||
set(${MODULE_PREFIX}_SRCS server.c)
|
||||
|
||||
foreach(FREERDP_CHANNELS_SERVER_SRC ${FREERDP_CHANNELS_SERVER_SRCS})
|
||||
|
||||
Reference in New Issue
Block a user