diff --git a/tests/examples/CMakeLists.txt b/tests/examples/CMakeLists.txt index ae0a72ce..bf2eda33 100644 --- a/tests/examples/CMakeLists.txt +++ b/tests/examples/CMakeLists.txt @@ -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}")