diff options
author | Dominik Holland <dominik.holland@qt.io> | 2021-03-02 09:50:15 +0100 |
---|---|---|
committer | Dominik Holland <dominik.holland@qt.io> | 2021-03-26 11:02:51 +0100 |
commit | 666ad879094791bf8d2626b4cc66638a2af8e23a (patch) | |
tree | 5306fff2876a1015f9be378ec911ad0d1eef1eeb /examples | |
parent | 3fdd3573f716b044824e11dcd1cabb8442ffeea8 (diff) | |
download | qtivi-666ad879094791bf8d2626b4cc66638a2af8e23a.tar.gz |
cmake: Add configure test for DLT and fix building GeniviExtras
Task-number: AUTOSUITE-1633
Change-Id: Icf2117f9772dccff871c7fa9307479c2488f3965
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/geniviextras/qdlt/CMakeLists.txt | 3 |
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 |