diff options
author | Salvador Cuñat <salvador.cunat@gmail.com> | 2017-06-16 16:40:47 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-22 10:40:04 +0900 |
commit | 6e2e363c5799bb9cbaf77818344e33aeebcdbc16 (patch) | |
tree | 8c7a9942a6dd4a1fd6983b09c5f3790212f9666d /smtk-import/smtk_standalone.cpp | |
parent | 5f5e52fb46d226fb6a38343276db4c542e2be2d1 (diff) | |
download | subsurface-6e2e363c5799bb9cbaf77818344e33aeebcdbc16.tar.gz |
smtk-import: partially revert and complete 6963b52d
6963b52d introduced a cmake option, COMMANDLINE to enable building a
pure command line version of smtk2ssrf importer, but then the
#define COMMANDLINE=1 forces building CLI mode.
This patch allows building GUI or CLI versions depending on selection of
the COMMANDLINE option.
Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
Diffstat (limited to 'smtk-import/smtk_standalone.cpp')
-rw-r--r-- | smtk-import/smtk_standalone.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/smtk-import/smtk_standalone.cpp b/smtk-import/smtk_standalone.cpp index 2442d70d4..dc152f42f 100644 --- a/smtk-import/smtk_standalone.cpp +++ b/smtk-import/smtk_standalone.cpp @@ -5,7 +5,6 @@ #include "smrtk2ssrfc_window.h" #include <QApplication> #include <QDebug> -#define COMMANDLINE 1 extern "C" void smartrak_import(const char *file, struct dive_table *table); |