From 7650cbf9fdf24a0ee623e5bc4107f0271bd5cb97 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Tue, 15 Apr 2008 13:57:54 +0000 Subject: [PATCH] Fix CMake-2.6 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24258 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/cmake/CMakeLists.txt | 3 +-- development/cmake/modules/LyXMacros.cmake | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/development/cmake/CMakeLists.txt b/development/cmake/CMakeLists.txt index 8a21d3a615..4391623f37 100644 --- a/development/cmake/CMakeLists.txt +++ b/development/cmake/CMakeLists.txt @@ -4,8 +4,7 @@ # Copyright (c) 2006, Peter Kümmel, # -#not really needed -#CMAKE_MINIMUM_REQUIRED(VERSION 2.4.4 FATAL_ERROR) +cmake_minimum_required(VERSION 2.4) set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) diff --git a/development/cmake/modules/LyXMacros.cmake b/development/cmake/modules/LyXMacros.cmake index ac66e8a248..77d07a83b1 100644 --- a/development/cmake/modules/LyXMacros.cmake +++ b/development/cmake/modules/LyXMacros.cmake @@ -225,5 +225,5 @@ macro(lyx_qt_resources_file _qrc_name _to_dir _list) file(APPEND ${_qrc_name} "\n") file(APPEND ${_qrc_name} "\n") endif() -endmacro(lyx_const_touched_files) +endmacro(lyx_qt_resources_file)