commit c6df155f6c6cb51b6b5d4424a076dc65c3c771b1
Author: Kornel Benko <[email protected]>
Date:   Sun Jul 14 10:46:51 2019 +0200

    Correct description
    
    The call to cmake creates new CMakeCache.txt in the build directory.
    But this is bad, if we only want to see available options.
---
 INSTALL.cmake |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/INSTALL.cmake b/INSTALL.cmake
index d765bf9..e0e7afd 100644
--- a/INSTALL.cmake
+++ b/INSTALL.cmake
@@ -132,7 +132,11 @@ Build options
 
     Options could be passed by the -D prefix when running cmake.
     Available options will be listed on each cmake run.
-    "cmake . -Dhelp=1" lists all available options:
+    "cmake -Dhelp=1 -S <lyx-source-dir> -B /tmp" lists all available options:
+    !!! Mark, that using this command creates CMakeCache.txt and CMakeFiles
+    !!! which have to be removed afterwards. Therefore it is better to 
explicitly
+    !!! specify a temporary build directory (/tmp in this example)
+    
 
     # Available on all systems/compilers
     -- LYX_CPACK                = OFF    : Use the CPack management (Implies 
LYX_INSTALL option)

Reply via email to