mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
5f5e52fb46
commit
6e2e363c57
2 changed files with 7 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue