1
0
mirror of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git synced 2025-04-01 02:42:39 +08:00

alias qtadvanceddocking to qt(5|6)advanceddocking for compatability

This commit is contained in:
fb 2023-05-20 21:26:10 +02:00
parent 0301e345b4
commit 2823d0fa10

View File

@ -80,6 +80,8 @@ else()
endif() endif()
add_library(ads::${library_name} ALIAS ${library_name}) add_library(ads::${library_name} ALIAS ${library_name})
# alias qtadvanceddocking to qt(5|6)advanceddocking for compatability
add_library(qtadvanceddocking ALIAS ${library_name})
target_link_libraries(${library_name} PUBLIC Qt${QT_VERSION_MAJOR}::Core target_link_libraries(${library_name} PUBLIC Qt${QT_VERSION_MAJOR}::Core
Qt${QT_VERSION_MAJOR}::Gui Qt${QT_VERSION_MAJOR}::Gui