File tree Expand file tree Collapse file tree 4 files changed +14
-11
lines changed
Expand file tree Collapse file tree 4 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,12 @@ cmake_minimum_required(VERSION 3.20)
6060# If commented, the latest supported standard for your compiler is automatically set.
6161# set(CMAKE_CXX_STANDARD 20)
6262
63- # Add project_options v0.26.3
64- # https://github.com/aminya/project_options
63+ # Add project_options from https://github.com/aminya/project_options
6564# Change the version in the following URL to update the package (watch the releases of the repository for future updates)
6665include(FetchContent)
67- FetchContent_Declare(_project_options URL https://github.com/aminya/project_options/archive/refs/tags/v0.26.3.zip)
66+ FetchContent_Declare(_project_options URL
67+ https://github.com/aminya/project_options/archive/refs/tags/v0.27.0.zip
68+ )
6869FetchContent_MakeAvailable(_project_options)
6970include(${_project_options_SOURCE_DIR}/Index.cmake)
7071
@@ -237,7 +238,7 @@ target_link_system_libraries(my_header_lib
237238
238239# Package the project
239240package_project(
240- TARGETS my_header_lib project_options project_warnings
241+ TARGETS my_header_lib myproject_project_options myproject_project_warnings
241242)
242243```
243244
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.25)
55
66project (
77 project_options_docs
8- VERSION 0.26.3
8+ VERSION 0.27.0
99 DESCRIPTION "Documentation"
1010 LANGUAGES NONE)
1111
Original file line number Diff line number Diff line change @@ -30,11 +30,12 @@ cmake_minimum_required(VERSION 3.20)
3030# If commented, the latest supported standard for your compiler is automatically set.
3131# set(CMAKE_CXX_STANDARD 20)
3232
33- # Add project_options v0.26.3
34- # https://github.com/aminya/project_options
33+ # Add project_options from https://github.com/aminya/project_options
3534# Change the version in the following URL to update the package (watch the releases of the repository for future updates)
3635include(FetchContent)
37- FetchContent_Declare(_project_options URL https://github.com/aminya/project_options/archive/refs/tags/v0.26.3.zip)
36+ FetchContent_Declare(_project_options URL
37+ https://github.com/aminya/project_options/archive/refs/tags/v0.27.0.zip
38+ )
3839FetchContent_MakeAvailable(_project_options)
3940include(${_project_options_SOURCE_DIR}/Index.cmake)
4041
Original file line number Diff line number Diff line change @@ -13,11 +13,12 @@ cmake_minimum_required(VERSION 3.20)
1313# If commented, the latest supported standard for your compiler is automatically set.
1414# set(CMAKE_CXX_STANDARD 20)
1515
16- # Add project_options v0.26.3
17- # https://github.com/aminya/project_options
16+ # Add project_options from https://github.com/aminya/project_options
1817# Change the version in the following URL to update the package (watch the releases of the repository for future updates)
1918include(FetchContent)
20- FetchContent_Declare(_project_options URL https://github.com/aminya/project_options/archive/refs/tags/v0.26.3.zip)
19+ FetchContent_Declare(_project_options URL
20+ https://github.com/aminya/project_options/archive/refs/tags/v0.27.0.zip
21+ )
2122FetchContent_MakeAvailable(_project_options)
2223include(${_project_options_SOURCE_DIR}/Index.cmake)
2324
You can’t perform that action at this time.
0 commit comments