mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-07 16:41:24 +00:00
Made CMake 3.19 requirement specific to macOS app packaging.
This commit is contained in:
parent
71f6f95020
commit
9f7e132479
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
cmake_minimum_required(VERSION 3.19.0)
|
cmake_minimum_required(VERSION 3.1.0)
|
||||||
|
|
||||||
# for link time optimization, remove if cmake version is >= 3.9
|
# for link time optimization, remove if cmake version is >= 3.9
|
||||||
if(POLICY CMP0069) # LTO
|
if(POLICY CMP0069) # LTO
|
||||||
|
@ -799,8 +799,8 @@ endif()
|
||||||
|
|
||||||
# Apple bundling
|
# Apple bundling
|
||||||
if (OPENMW_OSX_DEPLOYMENT AND APPLE)
|
if (OPENMW_OSX_DEPLOYMENT AND APPLE)
|
||||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.13 AND CMAKE_VERSION VERSION_LESS 3.13.4)
|
if (CMAKE_VERSION VERSION_LESS 3.19)
|
||||||
message(FATAL_ERROR "macOS packaging is broken in early CMake 3.13 releases, see https://gitlab.com/OpenMW/openmw/issues/4767. Please use at least 3.13.4 or an older version like 3.12.4")
|
message(FATAL_ERROR "macOS packaging requires CMake 3.19 or higher to sign macOS app bundles.")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
get_property(QT_COCOA_PLUGIN_PATH TARGET Qt5::QCocoaIntegrationPlugin PROPERTY LOCATION_RELEASE)
|
get_property(QT_COCOA_PLUGIN_PATH TARGET Qt5::QCocoaIntegrationPlugin PROPERTY LOCATION_RELEASE)
|
||||||
|
|
Loading…
Reference in a new issue