mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Raise minimum required cmake version to 3.25
Use policies up to 3.31
This commit is contained in:
parent
bcd899c641
commit
d9404fc566
1 changed files with 1 additions and 9 deletions
|
@ -4,15 +4,7 @@
|
||||||
# For license and copyright information please follow this link:
|
# For license and copyright information please follow this link:
|
||||||
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
|
|
||||||
if (APPLE)
|
cmake_minimum_required(VERSION 3.25...3.31)
|
||||||
# target_precompile_headers with COMPILE_LANGUAGE restriction.
|
|
||||||
cmake_minimum_required(VERSION 3.23)
|
|
||||||
else()
|
|
||||||
cmake_minimum_required(VERSION 3.16)
|
|
||||||
endif()
|
|
||||||
if (POLICY CMP0149)
|
|
||||||
cmake_policy(SET CMP0149 NEW)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue