path: root/cmake/env.cmake
AgeCommit message (Collapse)AuthorFilesLines
2018-03-27cmake: fix "cmake -E env" compatibility with older CMakePeter Wu1-0/+76
"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>