Skip to content

Commit 7e4b7c2

Browse files
committed
docs: update comment regarding project_options variable [skip ci]
1 parent d0db617 commit 7e4b7c2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ include(${_project_options_SOURCE_DIR}/Index.cmake)
2929
# Set the project name and language
3030
project(myproject LANGUAGES CXX)
3131
32-
# Initialize project_options
32+
# Initialize project_options variable related to this project
33+
# This overwrites `project_options` and sets `project_warnings`
3334
# uncomment the options to enable them:
3435
project_options(
3536
ENABLE_CACHE
@@ -154,7 +155,8 @@ include(${_project_options_SOURCE_DIR}/src/GlobalOptions.cmake)
154155
# Set the project name and language
155156
project(myproject LANGUAGES CXX)
156157
157-
# Initialize project_options
158+
# Initialize project_options variable related to this project
159+
# This overwrites `project_options` and sets `project_warnings`
158160
# uncomment the options to enable them:
159161
project_options(
160162
ENABLE_CACHE

0 commit comments

Comments
 (0)