Skip to content
Snippets Groups Projects
Commit dfb77898 authored by Adriaan de Groot's avatar Adriaan de Groot
Browse files

kdsingleapplication: make Qt5/6 independent

parent 179796d5
No related branches found
No related tags found
No related merge requests found
......@@ -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)
include(CMakeFindDependencyMacro)
find_dependency(Qt5Widgets REQUIRED)
find_dependency(Qt5Network REQUIRED)
# Add the targets file
include("${CMAKE_CURRENT_LIST_DIR}/KDSingleApplicationTargets.cmake")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment