aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Dickens <michael.dickens@ettus.com>2019-10-01 14:00:38 -0400
committerMartin Braun <martin.braun@ettus.com>2019-10-09 14:38:08 -0700
commitc568804fbea26654dd461a21684b19a218959b0f (patch)
tree785651c1aff1df7b5d04ce703bf9659d073989c7
parentf63069ab72defef98da3e34847a1016cbb36ac6d (diff)
downloaduhd-c568804fbea26654dd461a21684b19a218959b0f.tar.gz
uhd-c568804fbea26654dd461a21684b19a218959b0f.tar.bz2
uhd-c568804fbea26654dd461a21684b19a218959b0f.zip
cmake: allow setting of PKG_DOC_DIR from the CMake commandline
-rw-r--r--host/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
index 916138ee9..0c7525c7e 100644
--- a/host/CMakeLists.txt
+++ b/host/CMakeLists.txt
@@ -122,7 +122,9 @@ set(PKG_DATA_DIR share/uhd)
if(NOT DEFINED PKG_LIB_DIR)
set(PKG_LIB_DIR ${LIBRARY_DIR}/uhd)
endif()
-set(PKG_DOC_DIR share/doc/uhd)
+if(NOT DEFINED PKG_DOC_DIR)
+ set(PKG_DOC_DIR share/doc/uhd)
+endif()
set(PKG_MAN_DIR share/man/man1)
########################################################################