diff options
author | Tobias Fella <fella@posteo.de> | 2022-05-20 22:33:37 +0200 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2022-05-20 22:33:37 +0200 |
commit | 753037cfc0d72a49144d30e9111ca21f01b81afd (patch) | |
tree | 6934fa82cda4126c04baceed0b2cfcb4440f2358 | |
parent | 617514cf9da4d444c285ebb27ff1c7fd034a484f (diff) | |
download | libquotient-753037cfc0d72a49144d30e9111ca21f01b81afd.tar.gz libquotient-753037cfc0d72a49144d30e9111ca21f01b81afd.zip |
Provide backwards compatibility for MATRIX_SPEC_PATH
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e3415816..ce950ea3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -198,6 +198,9 @@ set(ASAPI_DEF_DIR application-service/definitions) set(ISAPI_DEF_DIR identity/definitions) set(API_GENERATION_ENABLED 0) +if (NOT MATRIX_SPEC_PATH AND MATRIX_DOC_PATH) + set(MATRIX_SPEC_PATH ${MATRIX_DOC_PATH}) +endif() if (GTAD_PATH AND MATRIX_SPEC_PATH) # REALPATH resolves ~ (home directory) while PROGRAM doesn't get_filename_component(ABS_GTAD_PATH "${GTAD_PATH}" REALPATH) |