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")