From 0fbb859f43920b0f124ee88e927007291cd2bb48 Mon Sep 17 00:00:00 2001 From: egorpugin Date: Thu, 5 Feb 2015 17:10:41 +0000 Subject: [PATCH] [build] [cmake] Bump minimal cmake version. Add missed dependency. --- CMakeLists.txt | 2 +- examples/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b6595ffaf..bceb99580e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ # ################################################################################ -cmake_minimum_required(VERSION 2.8.8) +cmake_minimum_required(VERSION 2.8.12) # In-source builds are not possible and so disabled. if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 9b0849ffb1..0d84d2ae50 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -59,6 +59,7 @@ add_custom_command( OUTPUT employe2.fdb DEPENDS empbuild + gfix ${files} COMMAND ${CMAKE_COMMAND} -E remove employe2.fdb COMMAND ${CMAKE_COMMAND} -E remove employe2_.fdb