diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-02-07 08:05:11 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-02-07 08:05:11 +0000 |
commit | f78c7d750a3042038fefc98879e29c8370760482 (patch) | |
tree | 6ea24f8fac23e06d593da61a2a475554241c40ed | |
parent | 4ff3fdefa7deb0232b05f84782b0b983c8dea2d2 (diff) |
Make sure that we only have to set (or pick up) the docdir environment
variable on the initial cmake run and not on later re-runs (like when some
cmakelists.txt file changed and we call make).
Of course this value should really be passed as an option instead of an
environment variable but I want to document how to get the current approach
working properly before switching to the proper approach.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40913 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b78529b1a..305cd262d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -449,7 +449,7 @@ endif() # Basedir where to install guides -set(DOC_DIR "$ENV{docdir}") +set(DOC_DIR "$ENV{docdir}" CACHE FILEPATH "Installation directory for ug and dg pdfs.") message(STATUS "docdir: ${DOC_DIR}") if(ENABLE_GUIDES) |