summaryrefslogtreecommitdiffstats
path: root/smtk-import/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar Rolf Eike Beer <eike@sf-mail.de>2019-03-19 17:14:31 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-03-19 12:41:32 -0700
commitdc254716cf3a7e1289f6c72f7b3b90277d18359e (patch)
tree98ce612db0cd03257841d006dd7a8f09b1c3ea5b /smtk-import/CMakeLists.txt
parentd0acee4083f88926ed76c287e9836b14a82e163a (diff)
downloadsubsurface-dc254716cf3a7e1289f6c72f7b3b90277d18359e.tar.gz
CMake: call cmake_minimim_required() before project()
Some policies can affect how project() works. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
Diffstat (limited to 'smtk-import/CMakeLists.txt')
-rw-r--r--smtk-import/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)