mirror of
https://gitee.com/openharmony/third_party_vulkan-loader
synced 2024-11-23 07:10:23 +00:00
build: Update cmake_minimum_required(VERSION 3.10.2)
Change-Id: Iedced8e252a1505c9cc0b1b07ba0d1012526689a
This commit is contained in:
parent
36d28090e2
commit
411ac4a629
11
BUILD.md
11
BUILD.md
@ -194,7 +194,7 @@ CMake to generate the native platform files.
|
||||
- The Community Edition of each of the above versions is sufficient, as
|
||||
well as any more capable edition.
|
||||
- [Windows Driver Kit](https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk) 1803 or later
|
||||
- CMake: Continuous integration tools use [CMake 3.12.2](https://github.com/Kitware/CMake/releases/tag/v3.12.2) for Windows
|
||||
- [CMake 3.10.2](https://cmake.org/files/v3.10/cmake-3.10.2-win64-x64.zip) is recommended.
|
||||
- Use the installer option to add CMake to the system PATH
|
||||
- Git Client Support
|
||||
- [Git for Windows](http://git-scm.com/download/win) is a popular solution
|
||||
@ -382,12 +382,11 @@ that the minimum supported compiler versions are GCC 4.8.2 and Clang 3.4,
|
||||
although earlier versions may work. It should be straightforward to adapt this
|
||||
repository to other Linux distributions.
|
||||
|
||||
|
||||
The continuous integration tools use [CMake 3.12.4](https://github.com/Kitware/CMake/releases/tag/v3.12.4) for Linux
|
||||
[CMake 3.10.2](https://cmake.org/files/v3.10/cmake-3.10.2-Linux-x86_64.tar.gz) is recommended.
|
||||
|
||||
#### Required Package List
|
||||
|
||||
sudo apt-get install git cmake build-essential libx11-xcb-dev \
|
||||
sudo apt-get install git build-essential libx11-xcb-dev \
|
||||
libxkbcommon-dev libwayland-dev libxrandr-dev
|
||||
|
||||
### Linux Build
|
||||
@ -601,7 +600,7 @@ Setup Homebrew and components
|
||||
|
||||
- Add packages with the following (may need refinement)
|
||||
|
||||
brew install cmake python python3 git
|
||||
brew install python python3 git
|
||||
|
||||
### Clone the Repository
|
||||
|
||||
@ -611,7 +610,7 @@ Clone the Vulkan-ValidationLayers repository:
|
||||
|
||||
### MacOS build
|
||||
|
||||
The continuous integration tools use [CMake 3.11.3](https://github.com/Kitware/CMake/releases/tag/v3.11.3) for MacOS
|
||||
[CMake 3.10.2](https://cmake.org/files/v3.10/cmake-3.10.2-Darwin-x86_64.tar.gz) is recommended.
|
||||
|
||||
#### CMake Generators
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
# limitations under the License.
|
||||
# ~~~
|
||||
|
||||
cmake_minimum_required(VERSION 3.4)
|
||||
cmake_minimum_required(VERSION 3.10.2)
|
||||
|
||||
# Apple: Must be set before enable_language() or project() as it may influence configuration of the toolchain and flags.
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.12" CACHE STRING "Minimum OS X deployment version")
|
||||
|
Loading…
Reference in New Issue
Block a user