tests: Add the theme path ENV variable
That way theme assets can be used by the documentation images
This commit is contained in:
parent
c8fac753c4
commit
15b025ff91
|
@ -63,6 +63,11 @@ ${LUA_PATH_}")
|
|||
|
||||
set(LUA_COV_RUNNER env -u LUA_PATH_5_1 -u LUA_PATH_5_2 -u LUA_PATH_5_3 "LUA_PATH=${LUA_PATH_}" ${LUA_COV_RUNNER})
|
||||
|
||||
# Done in 3 variables to avoid CMake from implicitly converting into a list.
|
||||
set(ENV{LUA_PATH} "${LUA_PATH3_}${LUA_PATH2_}${LUA_PATH_}")
|
||||
|
||||
set(ENV{AWESOME_THEMES_PATH} "${TOP_SOURCE_DIR}/themes/")
|
||||
|
||||
# The documentation images directory.
|
||||
set(IMAGE_DIR "${CMAKE_BINARY_DIR}/doc/images")
|
||||
file(MAKE_DIRECTORY "${IMAGE_DIR}")
|
||||
|
|
Loading…
Reference in New Issue