feat: made cmakelist more robust

This commit is contained in:
2023-09-29 22:22:53 +02:00
parent 0567926814
commit 85a9336218
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
project(yak C ASM)
cmake_minimum_required(VERSION 3.24.0)
project(yak C ASM)
string(REGEX MATCH "^[0-9]+" CLANG_VERSION_MAJOR ${CMAKE_C_COMPILER_VERSION})
include(FetchContent)