From 2837f7bf89ae36fd619b6d0a0e3ce1f3acec7702 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Mon, 14 Jan 2013 02:26:59 +0000 Subject: [PATCH] carl9170: Fix minimum CMake version The CMAKE_CURRENT_LIST_DIR command was added in version 2.8.4. Signed-off-by: Ben Hutchings --- carl9170fw/extra/FindGPERF.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/carl9170fw/extra/FindGPERF.cmake b/carl9170fw/extra/FindGPERF.cmake index 041a527b..baf87494 100644 --- a/carl9170fw/extra/FindGPERF.cmake +++ b/carl9170fw/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)