summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/harfbuzz/CMakeLists.txt5
-rw-r--r--src/3rdparty/tinycbor/CMakeLists.txt6
2 files changed, 9 insertions, 2 deletions
diff --git a/src/3rdparty/harfbuzz/CMakeLists.txt b/src/3rdparty/harfbuzz/CMakeLists.txt
index 25a3b75d2f..3eaddbb2db 100644
--- a/src/3rdparty/harfbuzz/CMakeLists.txt
+++ b/src/3rdparty/harfbuzz/CMakeLists.txt
@@ -8,4 +8,7 @@ add_library(QtHarfBuzz STATIC
src/harfbuzz-open.c
src/harfbuzz-stream.c
)
-target_include_directories(QtHarfBuzz PUBLIC src)
+target_include_directories(QtHarfBuzz PUBLIC
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>)
+
+qt_install_3rdparty_library(QtHarfBuzz)
diff --git a/src/3rdparty/tinycbor/CMakeLists.txt b/src/3rdparty/tinycbor/CMakeLists.txt
index 3a1a760af9..d0c90165bf 100644
--- a/src/3rdparty/tinycbor/CMakeLists.txt
+++ b/src/3rdparty/tinycbor/CMakeLists.txt
@@ -1,2 +1,6 @@
add_library(tinycbor INTERFACE)
-target_include_directories(tinycbor INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/src")
+target_include_directories(tinycbor
+ INTERFACE
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>)
+
+qt_install_3rdparty_library(tinycbor)