From: Bryan Lozano Date: Fri, 22 Mar 2024 07:18:20 +0000 (-0700) Subject: cmake : bump to 3.12 (#768) X-Git-Tag: upstream/0.0.1642~838 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=f5c9599cdba3133da0158dce061b33413b49f6fd;p=pkg%2Fggml%2Fsources%2Fggml cmake : bump to 3.12 (#768) This CMakeLists.txt file uses Cmake command `add_compile_definitions()`. That command did not exist until CMake 3.12. Reference documentation: https://cmake.org/cmake/help/latest/command/add_compile_definitions.html I see a failure in CMake 3.10 with existing CMakeLists.txt --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 2249363d..1a599dd3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.3) +cmake_minimum_required (VERSION 3.12) project(ggml VERSION 0.1.0) set(CMAKE_EXPORT_COMPILE_COMMANDS "on")