From dfb778984ca63709139848ed882d7e0b06f98521 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sun, 3 Sep 2023 14:17:05 +0200 Subject: [PATCH] kdsingleapplication: make Qt5/6 independent --- 3rdparty/kdsingleapplication/CMakeLists.txt | 2 +- .../kdsingleapplication/KDSingleApplicationConfig.cmake.in | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 3rdparty/kdsingleapplication/KDSingleApplicationConfig.cmake.in diff --git a/3rdparty/kdsingleapplication/CMakeLists.txt b/3rdparty/kdsingleapplication/CMakeLists.txt index 6c0b8e9c0..dee64feab 100644 --- a/3rdparty/kdsingleapplication/CMakeLists.txt +++ b/3rdparty/kdsingleapplication/CMakeLists.txt @@ -23,4 +23,4 @@ target_include_directories( PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ) -target_link_libraries(kdsingleapplication Qt5::Core Qt5::Network) +target_link_libraries(kdsingleapplication ${qtname}::Core ${qtname}::Network) diff --git a/3rdparty/kdsingleapplication/KDSingleApplicationConfig.cmake.in b/3rdparty/kdsingleapplication/KDSingleApplicationConfig.cmake.in deleted file mode 100644 index 0bfc1646b..000000000 --- a/3rdparty/kdsingleapplication/KDSingleApplicationConfig.cmake.in +++ /dev/null @@ -1,7 +0,0 @@ -include(CMakeFindDependencyMacro) - -find_dependency(Qt5Widgets REQUIRED) -find_dependency(Qt5Network REQUIRED) - -# Add the targets file -include("${CMAKE_CURRENT_LIST_DIR}/KDSingleApplicationTargets.cmake")