From dc254716cf3a7e1289f6c72f7b3b90277d18359e Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Tue, 19 Mar 2019 17:14:31 +0100 Subject: CMake: call cmake_minimim_required() before project() Some policies can affect how project() works. Signed-off-by: Rolf Eike Beer --- smtk-import/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smtk-import/CMakeLists.txt') diff --git a/smtk-import/CMakeLists.txt b/smtk-import/CMakeLists.txt index ff74ea273..369dd80a1 100644 --- a/smtk-import/CMakeLists.txt +++ b/smtk-import/CMakeLists.txt @@ -1,7 +1,7 @@ # Modified from Subsurface's CMakeLists.txt -project(smtk2ssrf) cmake_minimum_required(VERSION 3.1) +project(smtk2ssrf) option(COMMANDLINE "Build command line version" OFF) -- cgit v1.2.3-70-g09d2