kdsingleapplication: make Qt5/6 independent

This commit is contained in:
Adriaan de Groot 2023-09-03 14:17:05 +02:00
parent 179796d598
commit dfb778984c
2 changed files with 1 additions and 8 deletions

View File

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

View File

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