@@ -15,12 +15,12 @@ cmake_minimum_required(VERSION 3.16)
15
15
# You can later set fine-grained standards for each target using `target_compile_features`
16
16
# set(CMAKE_CXX_STANDARD 17)
17
17
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
20
20
include(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)
24
24
25
25
# uncomment to enable vcpkg:
26
26
# # Setup vcpkg - should be called before defining project()
@@ -137,15 +137,15 @@ cmake_minimum_required(VERSION 3.16)
137
137
# You can later set fine-grained standards for each target using `target_compile_features`
138
138
# set(CMAKE_CXX_STANDARD 17)
139
139
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
142
142
include(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)
146
146
147
147
# ❗ Add global CMake options
148
- include(${projectoptions_SOURCE_DIR }/src/GlobalOptions.cmake)
148
+ include(${_project_options_SOURCE_DIR }/src/GlobalOptions.cmake)
149
149
150
150
# uncomment to enable vcpkg:
151
151
# # Setup vcpkg - should be called before defining project()
0 commit comments