diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-11-14 19:21:16 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-03 13:26:55 -0800 |
commit | 5a8db978198682734cdecc69a480d21a16775d4a (patch) | |
tree | 21ec80d98c7f063e2cd8fc24075dab9f933c91b3 /qt-models/CMakeLists.txt | |
parent | 057c151fe8592ec5f160ae5f7891c1f1b5c998dc (diff) | |
download | subsurface-5a8db978198682734cdecc69a480d21a16775d4a.tar.gz |
build-system: add models and shared backends to the downloader
We'll need this in order to be able to actually open dive files and
download things from a dive computer.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/CMakeLists.txt')
-rw-r--r-- | qt-models/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-models/CMakeLists.txt b/qt-models/CMakeLists.txt index b42b6063b..dc115c554 100644 --- a/qt-models/CMakeLists.txt +++ b/qt-models/CMakeLists.txt @@ -73,4 +73,7 @@ elseif (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable") add_library(subsurface_models_mobile STATIC ${SUBSURFACE_GENERIC_MODELS_LIB_SRCS} ${SUBSURFACE_MOBILE_MODELS_LIB_SRCS}) target_link_libraries(subsurface_models_mobile ${QT_LIBRARIES}) +elseif (SUBSURFACE_TARGET_EXECUTABLE MATCHES "DownloaderExecutable") + add_library(subsurface_models_downloader STATIC ${SUBSURFACE_GENERIC_MODELS_LIB_SRCS}) + target_link_libraries(subsurface_models_downloader ${QT_LIBRARIES}) endif() |