update cmake
This commit is contained in:
parent
9bc7491266
commit
cd9eafca84
2 changed files with 6 additions and 6 deletions
|
@ -1,11 +1,11 @@
|
||||||
cmake_minimum_required(VERSION 3.8)
|
cmake_minimum_required(VERSION 3.20)
|
||||||
|
|
||||||
project(glad)
|
project(glad)
|
||||||
|
|
||||||
add_library(glad STATIC src/glad.c)
|
add_library(glad STATIC src/glad.c)
|
||||||
|
|
||||||
target_include_directories(
|
target_include_directories(
|
||||||
glad
|
glad
|
||||||
PUBLIC
|
PUBLIC
|
||||||
include
|
include
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,7 +2,7 @@ include(FetchContent)
|
||||||
|
|
||||||
FetchContent_Declare(snitch
|
FetchContent_Declare(snitch
|
||||||
GIT_REPOSITORY https://github.com/snitch-org/snitch.git
|
GIT_REPOSITORY https://github.com/snitch-org/snitch.git
|
||||||
GIT_TAG v1.2.5) # update version number as needed
|
GIT_TAG v1.3.2) # update version number as needed
|
||||||
|
|
||||||
FetchContent_MakeAvailable(snitch)
|
FetchContent_MakeAvailable(snitch)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue