]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/modules/LyXMacros.cmake
cmake: -Dhelp=1 lists all options
[lyx.git] / development / cmake / modules / LyXMacros.cmake
index d67a38280a2c6ff268e6b214eb8edfdf0d570627..57c7e7a69d1e64101254b724ea28c1236916d906 100644 (file)
@@ -261,7 +261,7 @@ endmacro()
 
 macro(LYX_OPTION_LIST_ALL)
        foreach(_option ${LYX_OPTIONS})
-               if(${_option}_show_message)
+               if(${_option}_show_message OR ${ARGV0} STREQUAL "help")
                        string(SUBSTRING "${_option}                            " 0 25 _var)
                        if(${_option})
                                set(_isset ON)