From: Kornel Benko Date: Sun, 14 Jul 2019 08:46:51 +0000 (+0200) Subject: Correct description X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=53bfd91c4c58b8570eb8164ffeb599570369e7b2;p=features.git 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. --- diff --git a/INSTALL.cmake b/INSTALL.cmake index d765bf9ace..e0e7afde4c 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 -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)