[cmake] set policy 0091

On windows we need to set the runtime linker settings extra
https://cmake.org/cmake/help/latest/policy/CMP0091.html
This commit is contained in:
Armin Novak 2023-12-22 15:09:54 +01:00 committed by akallabeth
parent 19d3c27e3d
commit 7debd0f621
8 changed files with 10 additions and 1 deletions

View File

@ -20,6 +20,7 @@
cmake_minimum_required(VERSION 3.13)
cmake_policy(SET CMP0091 NEW)
project(FreeRDP C)
set(CMAKE_C_STANDARD 11)

View File

@ -17,6 +17,7 @@
cmake_minimum_required(VERSION 3.13)
cmake_policy(SET CMP0091 NEW)
if (NOT FREERDP_DEFAULT_PROJECT_VERSION)
set(FREERDP_DEFAULT_PROJECT_VERSION "1.0.0.0")
endif()

View File

@ -16,6 +16,7 @@
# limitations under the License.
cmake_minimum_required(VERSION 3.13)
cmake_policy(SET CMP0091 NEW)
if (NOT FREERDP_DEFAULT_PROJECT_VERSION)
set(FREERDP_DEFAULT_PROJECT_VERSION "1.0.0.0")
endif()

View File

@ -21,6 +21,7 @@
cmake_minimum_required(VERSION 3.13)
cmake_policy(SET CMP0091 NEW)
if (NOT FREERDP_DEFAULT_PROJECT_VERSION)
set(FREERDP_DEFAULT_PROJECT_VERSION "1.0.0.0")
endif()

View File

@ -21,6 +21,7 @@
cmake_minimum_required(VERSION 3.13)
cmake_policy(SET CMP0091 NEW)
if (NOT FREERDP_DEFAULT_PROJECT_VERSION)
set(FREERDP_DEFAULT_PROJECT_VERSION "1.0.0.0")
endif()

View File

@ -21,6 +21,7 @@
cmake_minimum_required(VERSION 3.13)
cmake_policy(SET CMP0091 NEW)
if (NOT FREERDP_DEFAULT_PROJECT_VERSION)
set(FREERDP_DEFAULT_PROJECT_VERSION "1.0.0.0")
endif()

View File

@ -20,6 +20,7 @@
cmake_minimum_required(VERSION 3.13)
cmake_policy(SET CMP0091 NEW)
if (NOT FREERDP_DEFAULT_PROJECT_VERSION)
set(FREERDP_DEFAULT_PROJECT_VERSION "1.0.0.0")
endif()

View File

@ -20,6 +20,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/)
if (NOT FREERDP_UNIFIED_BUILD)
cmake_minimum_required(VERSION 3.13)
cmake_policy(SET CMP0091 NEW)
project(WinPR LANGUAGES C)
set(CMAKE_C_STANDARD 11)