carl9170: Fix minimum CMake version
authorBen Hutchings <ben@decadent.org.uk>
Mon, 14 Jan 2013 02:26:59 +0000 (02:26 +0000)
committerChristian Lamparter <chunkeey@googlemail.com>
Mon, 14 Jan 2013 18:48:12 +0000 (19:48 +0100)
The CMAKE_CURRENT_LIST_DIR command was added in version 2.8.4.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
extra/FindGPERF.cmake

index 041a527be385fe6a7730da73f4d6ea034fe96746..baf87494e0fe4e9e97c9a2fb9b1bc600a29511a0 100644 (file)
@@ -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)