Mercurial > irccd
comparison 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 |
comparison
equal
deleted
inserted
replaced
512:b8da1d8c2a72 | 513:928a40398dec |
---|---|
69 #define WITH_DATADIR "@WITH_DATADIR@" | 69 #define WITH_DATADIR "@WITH_DATADIR@" |
70 #define WITH_BINDIR "@WITH_BINDIR@" | 70 #define WITH_BINDIR "@WITH_BINDIR@" |
71 #define WITH_SYSCONFDIR "@WITH_SYSCONFDIR@" | 71 #define WITH_SYSCONFDIR "@WITH_SYSCONFDIR@" |
72 #define WITH_PLUGINDIR "@WITH_PLUGINDIR@" | 72 #define WITH_PLUGINDIR "@WITH_PLUGINDIR@" |
73 | 73 |
74 #cmakedefine WITH_JS | 74 #cmakedefine HAVE_JS |
75 #cmakedefine WITH_SSL | 75 #cmakedefine HAVE_SSL |
76 | 76 |
77 /* | 77 /* |
78 * Platform checks. | 78 * Platform checks. |
79 * ------------------------------------------------------------------ | 79 * ------------------------------------------------------------------ |
80 */ | 80 */ |