Skip to content

Commit

Permalink
cmake : bump to 3.12 (#768)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
wilderfield committed Mar 22, 2024
1 parent 30626ea commit f5c9599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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")
Expand Down

0 comments on commit f5c9599

Please sign in to comment.