summaryrefslogtreecommitdiffstats
path: root/smtk-import
diff options
context:
space:
mode:
authorGravatar Salvador Cuñat <salvador.cunat@gmail.com>2018-10-14 22:43:29 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-15 06:35:14 -0400
commit639388e2d8877c4f177ff3a0bbb2706170e091a8 (patch)
tree5988a9e10dac86fd72832ce0578c36cae035a282 /smtk-import
parent70ffdd76248e3a17f734e3e649ba475a631912b6 (diff)
downloadsubsurface-639388e2d8877c4f177ff3a0bbb2706170e091a8.tar.gz
include libftdi in smtk-import windows build
In windows builds, we don't build stripped subsurface binaries but depend on previously built ones. For any reason, in regular windows build libftdi is excluded, and library is not installed/built; on the other side, in containerized build libftdi is included and we need to include it in smtk.import build. Setting pkg_config_library to QUIET works for both builds. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
Diffstat (limited to 'smtk-import')
-rw-r--r--smtk-import/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/smtk-import/CMakeLists.txt b/smtk-import/CMakeLists.txt
index d13d79fa2..2c43076c1 100644
--- a/smtk-import/CMakeLists.txt
+++ b/smtk-import/CMakeLists.txt
@@ -33,6 +33,7 @@ pkg_config_library(GLIB2 glib-2.0 REQUIRED)
pkg_config_library(LIBGIT2 libgit2 REQUIRED)
pkg_config_library(LIBMDB libmdb REQUIRED)
pkg_config_library(LIBDC libdivecomputer REQUIRED)
+pkg_config_library(LIBFTDI libftdi1 QUIET)
find_package(Qt5 REQUIRED COMPONENTS Core
Concurrent