mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-15 18:39:51 +00:00
Merge pull request #988 from nikolaykasyanov/osx-cmake-min-version
OS X: specify minimum CMake version & remove redundant argument from CI script
This commit is contained in:
commit
b0a37553b2
@ -10,7 +10,6 @@ mkdir build
|
|||||||
cd build
|
cd build
|
||||||
|
|
||||||
cmake \
|
cmake \
|
||||||
-D PKG_CONFIG_USE_CMAKE_PREFIX_PATH=ON \
|
|
||||||
-D CMAKE_EXE_LINKER_FLAGS="-lz" \
|
-D CMAKE_EXE_LINKER_FLAGS="-lz" \
|
||||||
-D CMAKE_PREFIX_PATH="$DEPENDENCIES_ROOT;$QT_PATH" \
|
-D CMAKE_PREFIX_PATH="$DEPENDENCIES_ROOT;$QT_PATH" \
|
||||||
-D CMAKE_OSX_DEPLOYMENT_TARGET="10.8" \
|
-D CMAKE_OSX_DEPLOYMENT_TARGET="10.8" \
|
||||||
|
@ -140,7 +140,10 @@ if (USE_QT)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (USE_QT AND DESIRED_QT_VERSION MATCHES 5)
|
if (APPLE)
|
||||||
|
# OS X build process relies on this fix: https://github.com/Kitware/CMake/commit/3df5147043d83aa09acd5c9ce31d5c602efb99db
|
||||||
|
cmake_minimum_required(VERSION 3.1.0)
|
||||||
|
elseif (USE_QT AND DESIRED_QT_VERSION MATCHES 5)
|
||||||
# 2.8.11+ is required to make Qt5 happy and allow linking QtMain on Windows.
|
# 2.8.11+ is required to make Qt5 happy and allow linking QtMain on Windows.
|
||||||
cmake_minimum_required(VERSION 2.8.11)
|
cmake_minimum_required(VERSION 2.8.11)
|
||||||
else()
|
else()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user