summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt2
-rw-r--r--examples/geniviextras/qdlt/CMakeLists.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 5454d68..7e9779d 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -11,7 +11,7 @@ endif()
if(TARGET Qt::Gui AND TARGET Qt::IviMedia)
add_subdirectory(ivimedia)
endif()
-if(TARGET geniviextras)
+if(TARGET Qt::GeniviExtras)
add_subdirectory(geniviextras)
endif()
diff --git a/examples/geniviextras/qdlt/CMakeLists.txt b/examples/geniviextras/qdlt/CMakeLists.txt
index d5874e6..8036fb1 100644
--- a/examples/geniviextras/qdlt/CMakeLists.txt
+++ b/examples/geniviextras/qdlt/CMakeLists.txt
@@ -16,6 +16,7 @@ endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/geniviextras/qdlt")
find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS GeniviExtras)
qt_add_executable(qdlt
loggingcategories.cpp loggingcategories.h
@@ -27,7 +28,7 @@ set_target_properties(qdlt PROPERTIES
)
target_link_libraries(qdlt PUBLIC
Qt::Core
- geniviextras
+ Qt::GeniviExtras
)
install(TARGETS qdlt