Make KDDockWidgets installable, find_packageable and useable from external projects

This commit is contained in:
Jean-Michaël Celerier
2019-09-19 11:35:54 +02:00
parent 1ecc42433b
commit f6909b0fa5
7 changed files with 321 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
include(CMakeFindDependencyMacro)
find_dependency(Qt5Widgets REQUIRED)
if (@OPTION_QTQUICK@)
find_dependency(Qt5Quick REQUIRED)
endif()
if (NOT WIN32 AND NOT APPLE)
find_dependency(Qt5X11Extras REQUIRED)
endif()
# Add the targets file
include("${CMAKE_CURRENT_LIST_DIR}/KDDockWidgetsTargets.cmake")