We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4703146 commit 9e1c79eCopy full SHA for 9e1c79e
docs/CMakeLists.txt
@@ -138,7 +138,7 @@ function(_setup_sphinx)
138
endfunction()
139
140
function(_set_current_release)
141
- set(CURRENT_RELEASE "")
+ set(CURRENT_RELEASE "" PARENT_SCOPE)
142
# Use git describe to get latest tag name
143
if (GIT_FOUND)
144
execute_process(
@@ -155,7 +155,7 @@ function(_set_current_release)
155
OUTPUT_STRIP_TRAILING_WHITESPACE
156
)
157
if (NOT "${CURRENT_RELEASE}" STREQUAL "${CURRENT_COMMIT}")
158
- set(CURRENT_RELEASE "master")
+ set(CURRENT_RELEASE "master" PARENT_SCOPE)
159
endif ()
160
endif (GIT_FOUND)
161
0 commit comments