X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;ds=sidebyside;f=CMakeLists.txt;h=3f853f4dd057a7af68d77f1f4b2ec00e45d8cab0;hb=65c09a96f41705bb8e75fc5ff4276342be91ed11;hp=f8278522eb7a2b6abc2c46e39e6fec92f2012162;hpb=fe3f6be4d262b466cd511595ad3b3c9bd5c89ea1;p=minetest.git diff --git a/CMakeLists.txt b/CMakeLists.txt index f8278522e..3f853f4dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,6 +113,9 @@ endif() set(CUSTOM_DOCDIR "" CACHE STRING "Directory to install documentation into") if(NOT CUSTOM_DOCDIR STREQUAL "") set(DOCDIR "${CUSTOM_DOCDIR}") + if(NOT RUN_IN_PLACE) + set(EXAMPLE_CONF_DIR ${DOCDIR}) + endif() message(STATUS "Using DOCDIR=${DOCDIR}") endif()