Mercurial > irccd
diff cmake/internal/sysconfig.hpp.in @ 513:928a40398dec
CMake: split options and conditions, closes #716
As described in the issue, the CMake process force off a cache variable
when a condition is not met. If the user installs the requirements and
re-run CMake it must also set the variable to on which is inconvenient.
The new process is to add a secondary variable and do not touch user
defined options.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 23 Oct 2017 21:30:17 +0200 |
parents | 65e80d258b34 |
children | c79ae2987955 |
line wrap: on
line diff
--- a/cmake/internal/sysconfig.hpp.in Fri Oct 20 11:43:36 2017 +0200 +++ b/cmake/internal/sysconfig.hpp.in Mon Oct 23 21:30:17 2017 +0200 @@ -71,8 +71,8 @@ #define WITH_SYSCONFDIR "@WITH_SYSCONFDIR@" #define WITH_PLUGINDIR "@WITH_PLUGINDIR@" -#cmakedefine WITH_JS -#cmakedefine WITH_SSL +#cmakedefine HAVE_JS +#cmakedefine HAVE_SSL /* * Platform checks.