Only search scripts directory with GLOB_RECURSE

develop
lethosor 2015-11-04 19:53:46 -05:00
parent cbf31dcb37
commit 481d00433d
1 changed files with 3 additions and 3 deletions

@ -210,9 +210,9 @@ if (BUILD_DOCS)
"${CMAKE_CURRENT_SOURCE_DIR}/scripts/about.txt" "${CMAKE_CURRENT_SOURCE_DIR}/scripts/about.txt"
"${CMAKE_CURRENT_SOURCE_DIR}/scripts/*/about.txt" "${CMAKE_CURRENT_SOURCE_DIR}/scripts/*/about.txt"
) )
file(GLOB_RECURSE SPHINX_SCRIPT_DEPS scripts "${CMAKE_CURRENT_SOURCE_DIR}" file(GLOB_RECURSE SPHINX_SCRIPT_DEPS
"*.lua" "${CMAKE_CURRENT_SOURCE_DIR}/scripts/*.lua"
"*.rb" "${CMAKE_CURRENT_SOURCE_DIR}/scripts/*.rb"
) )
set(SPHINX_DEPS ${SPHINX_DEPS} ${SPHINX_SCRIPT_DEPS} LICENSE.rst NEWS.rst index.rst) set(SPHINX_DEPS ${SPHINX_DEPS} ${SPHINX_SCRIPT_DEPS} LICENSE.rst NEWS.rst index.rst)