wireshark/cmake
Peter Wu fdef405782 cmake: fix "cmake -E env" compatibility with older CMake
"cmake -E env" was added in CMake 3.1, but we currently support 2.8.12
at minimum. Add a best-effort replacement for older versions. There are
some limitations from CMake (see comments), but these should not affect
the current user (FindAsciidoctor.cmake).

Change-Id: I56c92aa9ad42fb3950dbdfd955d4ff902111e0d7
Fixes: v2.5.1rc0-76-g94a0f7c641 ("Switch from AsciiDoc to Asciidoctor.")
Reviewed-on: https://code.wireshark.org/review/26658
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2018-03-27 21:11:37 +00:00
..
modules cmake: fix "cmake -E env" compatibility with older CMake 2018-03-27 21:11:37 +00:00
TestFileOffsetBits.c cmake: Detect proper large file defines even with -Wno-error 2016-06-16 04:02:43 +00:00
TestLargeFiles.c.cmakein cmake: Detect proper large file defines even with -Wno-error 2016-06-16 04:02:43 +00:00
TestWindowsFSeek.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
env.cmake cmake: fix "cmake -E env" compatibility with older CMake 2018-03-27 21:11:37 +00:00