From 47454f5078cdf54f1d37171b10d8c27107e47a63 Mon Sep 17 00:00:00 2001 From: Juan Ramos Date: Thu, 27 Jul 2023 15:31:20 -0600 Subject: [PATCH] cmake: Raise minimum to 3.17.2 Build fails due to external dependency on SPIRV-Tools. EX: ``` -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE CMake Error at External/spirv-tools/CMakeLists.txt:15 (cmake_minimum_required): CMake 3.17.2 or higher is required. You are running version 3.14.0 ``` --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2cb8eb169..ccd5b8395 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2020 The Khronos Group Inc. +# Copyright (C) 2020-2023 The Khronos Group Inc. # # All rights reserved. # @@ -30,7 +30,7 @@ # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. -cmake_minimum_required(VERSION 3.14.0) +cmake_minimum_required(VERSION 3.17.2) project(glslang) set_property(GLOBAL PROPERTY USE_FOLDERS ON)