@@ -15,12 +15,12 @@ cmake_minimum_required(VERSION 3.16)
1515# You can later set fine-grained standards for each target using `target_compile_features`
1616# set(CMAKE_CXX_STANDARD 17)
1717
18- # Add ProjectOptions v0.12.0
19- # https://github.com/cpp-best-practices/ProjectOptions
18+ # Add project_options v0.12.0
19+ # https://github.com/cpp-best-practices/project_options
2020include(FetchContent)
21- FetchContent_Declare(projectoptions URL https://github.com/cpp-best-practices/ProjectOptions /archive/refs/tags/v0.12.0.zip)
22- FetchContent_MakeAvailable(projectoptions )
23- include(${projectoptions_SOURCE_DIR }/Index.cmake)
21+ FetchContent_Declare(_project_options URL https://github.com/cpp-best-practices/project_options /archive/refs/tags/v0.12.0.zip)
22+ FetchContent_MakeAvailable(_project_options )
23+ include(${_project_options_SOURCE_DIR }/Index.cmake)
2424
2525# uncomment to enable vcpkg:
2626# # Setup vcpkg - should be called before defining project()
@@ -137,15 +137,15 @@ cmake_minimum_required(VERSION 3.16)
137137# You can later set fine-grained standards for each target using `target_compile_features`
138138# set(CMAKE_CXX_STANDARD 17)
139139
140- # Add ProjectOptions v0.12.0
141- # https://github.com/cpp-best-practices/ProjectOptions
140+ # Add project_options v0.12.0
141+ # https://github.com/cpp-best-practices/project_options
142142include(FetchContent)
143- FetchContent_Declare(projectoptions URL https://github.com/cpp-best-practices/ProjectOptions /archive/refs/tags/v0.12.0.zip)
144- FetchContent_MakeAvailable(projectoptions )
145- include(${projectoptions_SOURCE_DIR }/Index.cmake)
143+ FetchContent_Declare(_project_options URL https://github.com/cpp-best-practices/project_options /archive/refs/tags/v0.12.0.zip)
144+ FetchContent_MakeAvailable(_project_options )
145+ include(${_project_options_SOURCE_DIR }/Index.cmake)
146146
147147 # ❗ Add global CMake options
148- include(${projectoptions_SOURCE_DIR }/src/GlobalOptions.cmake)
148+ include(${_project_options_SOURCE_DIR }/src/GlobalOptions.cmake)
149149
150150# uncomment to enable vcpkg:
151151# # Setup vcpkg - should be called before defining project()
0 commit comments