From: Ben Hutchings Date: Mon, 14 Jan 2013 02:26:59 +0000 (+0000) Subject: carl9170: Fix minimum CMake version X-Git-Tag: 1.9.8~29 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=728ae068d6c038a91cab694dd60a1966057afe88;p=carl9170fw.git carl9170: Fix minimum CMake version The CMAKE_CURRENT_LIST_DIR command was added in version 2.8.4. Signed-off-by: Ben Hutchings Signed-off-by: Christian Lamparter --- diff --git a/extra/FindGPERF.cmake b/extra/FindGPERF.cmake index 041a527..baf8749 100644 --- a/extra/FindGPERF.cmake +++ b/extra/FindGPERF.cmake @@ -71,6 +71,8 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cmake_minimum_required(VERSION 2.8.4) + FIND_PROGRAM(GPERF_EXECUTABLE gperf DOC "path to the gperf executable") MARK_AS_ADVANCED(GPERF_EXECUTABLE)