diff --git a/README.md b/README.md index 74c0f997..4e261d63 100644 --- a/README.md +++ b/README.md @@ -60,11 +60,12 @@ cmake_minimum_required(VERSION 3.20) # If commented, the latest supported standard for your compiler is automatically set. # set(CMAKE_CXX_STANDARD 20) -# Add project_options v0.26.3 -# https://github.com/aminya/project_options +# Add project_options from https://github.com/aminya/project_options # Change the version in the following URL to update the package (watch the releases of the repository for future updates) include(FetchContent) -FetchContent_Declare(_project_options URL https://github.com/aminya/project_options/archive/refs/tags/v0.26.3.zip) +FetchContent_Declare(_project_options URL + https://github.com/aminya/project_options/archive/refs/tags/v0.27.0.zip +) FetchContent_MakeAvailable(_project_options) include(${_project_options_SOURCE_DIR}/Index.cmake) @@ -237,7 +238,7 @@ target_link_system_libraries(my_header_lib # Package the project package_project( - TARGETS my_header_lib project_options project_warnings + TARGETS my_header_lib myproject_project_options myproject_project_warnings ) ``` diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index ee0f8858..88aa74c0 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.25) project( project_options_docs - VERSION 0.26.3 + VERSION 0.27.0 DESCRIPTION "Documentation" LANGUAGES NONE) diff --git a/docs/src/dynamic_project_options.md b/docs/src/dynamic_project_options.md index 6fbb0eb2..c4336642 100644 --- a/docs/src/dynamic_project_options.md +++ b/docs/src/dynamic_project_options.md @@ -30,11 +30,12 @@ cmake_minimum_required(VERSION 3.20) # If commented, the latest supported standard for your compiler is automatically set. # set(CMAKE_CXX_STANDARD 20) -# Add project_options v0.26.3 -# https://github.com/aminya/project_options +# Add project_options from https://github.com/aminya/project_options # Change the version in the following URL to update the package (watch the releases of the repository for future updates) include(FetchContent) -FetchContent_Declare(_project_options URL https://github.com/aminya/project_options/archive/refs/tags/v0.26.3.zip) +FetchContent_Declare(_project_options URL + https://github.com/aminya/project_options/archive/refs/tags/v0.27.0.zip +) FetchContent_MakeAvailable(_project_options) include(${_project_options_SOURCE_DIR}/Index.cmake) diff --git a/docs/src/project_options_example.md b/docs/src/project_options_example.md index 7d308921..0331f242 100644 --- a/docs/src/project_options_example.md +++ b/docs/src/project_options_example.md @@ -13,11 +13,12 @@ cmake_minimum_required(VERSION 3.20) # If commented, the latest supported standard for your compiler is automatically set. # set(CMAKE_CXX_STANDARD 20) -# Add project_options v0.26.3 -# https://github.com/aminya/project_options +# Add project_options from https://github.com/aminya/project_options # Change the version in the following URL to update the package (watch the releases of the repository for future updates) include(FetchContent) -FetchContent_Declare(_project_options URL https://github.com/aminya/project_options/archive/refs/tags/v0.26.3.zip) +FetchContent_Declare(_project_options URL + https://github.com/aminya/project_options/archive/refs/tags/v0.27.0.zip +) FetchContent_MakeAvailable(_project_options) include(${_project_options_SOURCE_DIR}/Index.cmake)