kdsingleapplication: make Qt5/6 independent
This commit is contained in:
parent
179796d598
commit
dfb778984c
2
3rdparty/kdsingleapplication/CMakeLists.txt
vendored
2
3rdparty/kdsingleapplication/CMakeLists.txt
vendored
@ -23,4 +23,4 @@ target_include_directories(
|
|||||||
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
|
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(kdsingleapplication Qt5::Core Qt5::Network)
|
target_link_libraries(kdsingleapplication ${qtname}::Core ${qtname}::Network)
|
||||||
|
@ -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")
|
|
Loading…
Reference in New Issue
Block a user