]> git.ipfire.org Git - thirdparty/openvpn.git/commit
CMake: Throw a clear error when config.h in top-level source directory
authorFrank Lichtenheld <frank@lichtenheld.com>
Mon, 3 Jul 2023 15:39:25 +0000 (17:39 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 4 Jul 2023 11:44:52 +0000 (13:44 +0200)
commit0652ae84f4528daa57da344eee28b7385a6659a1
treefa70c48478fa768a461fa1dc5de33d21a9e8cb21
parenteb3cd5ea36f9bf235da7b8a51fd6ce29780f0e39
CMake: Throw a clear error when config.h in top-level source directory

This causes weird, difficult to debug compilation errors. Usually
caused by trying to run CMake against a source that had an
in-tree autoconfig build.

Note that you're able to do out-of-tree autoconfig builds and
they can obviously mix with out-of-tree cmake builds.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20230703153925.48990-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26809.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
CMakeLists.txt