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 3301b2f commit c078856Copy full SHA for c078856
docs/source/CMakeLists.txt
@@ -7,6 +7,12 @@ function(DefaultRstPath MDFILE RSTFILE_VAR)
7
endfunction()
8
9
function(UpdateRstFromMd RSTFILE MDFILE)
10
+ if(NOT IS_ABSOLUTE ${MDFILE})
11
+ set(MDFILE ${CMAKE_CURRENT_SOURCE_DIR}/${MDFILE})
12
+ endif()
13
+ if (NOT IS_ABSOLUTE ${RSTFILE})
14
+ set(RSTFILE ${CMAKE_CURRENT_SOURCE_DIR}/${RSTFILE})
15
16
if(${MDFILE} IS_NEWER_THAN ${RSTFILE})
17
message("-- Processing ${MDFILE} ...")
18
execute_process(
0 commit comments