Allow the use of dtk-containers as a submodule of another bigger CMake project
This merge-request allows the use of dtk-containers as a submodule of another bigger CMake project.
- The main fix is commit !1 (41d89943) where the CMake variable
CMAKE_CURRENT_SOURCE_DIR
is used instead ofCMAKE_SOURCE_DIR
. - Commit !1 (c8b86fba) allows to link with the target
dtkContainers
and benefit from the include directories. - Commit !1 (9371d379) fixes a CMake warning, now that Qt6 is also supported by recent versions of CMake:
AUTOGEN: No valid Qt version found for target
.
See also dtk-log!11 (closed) and dtk-core!21 (closed).
(cc @maxGimeno)
Edited by RINEAU Laurent