mirror of
https://github.com/jellyfin/jellyfin-media-player.git
synced 2024-11-23 05:59:43 +00:00
Fix cmake warnings
This commit is contained in:
parent
1f2aeae2df
commit
be8de67654
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
|
cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR)
|
||||||
|
|
||||||
# use a toolchain file if any for Embedded
|
# use a toolchain file if any for Embedded
|
||||||
if (EXISTS "${CMAKE_SOURCE_DIR}/toolchain.cmake")
|
if (EXISTS "${CMAKE_SOURCE_DIR}/toolchain.cmake")
|
||||||
@ -42,6 +42,9 @@ set_policy(CMP0020 NEW)
|
|||||||
set_policy(CMP0017 NEW)
|
set_policy(CMP0017 NEW)
|
||||||
set_policy(CMP0058 NEW)
|
set_policy(CMP0058 NEW)
|
||||||
set_policy(CMP0026 OLD)
|
set_policy(CMP0026 OLD)
|
||||||
|
set_policy(CMP0071 NEW)
|
||||||
|
set_policy(CMP0072 NEW)
|
||||||
|
set_policy(CMP0148 OLD)
|
||||||
|
|
||||||
include(utils)
|
include(utils)
|
||||||
include(CompilerFlags)
|
include(CompilerFlags)
|
||||||
|
Loading…
Reference in New Issue
Block a user