File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ cmake_minimum_required(VERSION 3.16)
1212# Set the project name to your project name, my_project isn't very descriptive
1313project(myproject LANGUAGES CXX)
1414
15- # Add cmakelib
15+ # Add cmakelib v0.1.0
1616include(FetchContent)
17- FetchContent_Declare(cmakelib URL https://github.com/aminya/cmakelib/archive/refs/heads/main .zip)
17+ FetchContent_Declare(cmakelib URL https://github.com/aminya/cmakelib/archive/refs/tags/v0.1.0 .zip)
1818FetchContent_MakeAvailable(cmakelib)
1919include(${cmakelib_SOURCE_DIR}/Index.cmake)
2020
@@ -90,9 +90,9 @@ cmake_minimum_required(VERSION 3.16)
9090# Set the project name to your project name, my_project isn't very descriptive
9191project(myproject LANGUAGES CXX)
9292
93- # Add cmakelib
93+ # Add cmakelib v0.1.0
9494include(FetchContent)
95- FetchContent_Declare(cmakelib URL https://github.com/aminya/cmakelib/archive/refs/heads/main .zip)
95+ FetchContent_Declare(cmakelib URL https://github.com/aminya/cmakelib/archive/refs/tags/v0.1.0 .zip)
9696FetchContent_MakeAvailable(cmakelib)
9797include(${cmakelib_SOURCE_DIR}/Index.cmake)
9898
You can’t perform that action at this time.
0 commit comments