Details
Description
there are two targets named stenciloutline:
qtbase/tests/manual/rhi/stenciloutline/CMakeLists.txt
qtquick3d/examples/quick3d/extensions/stenciloutline/CMakeLists.txt
if both are enabled, this error occurs
CMake Error at /home/tim/build/build-qt6-dev-clang_18_qt_dev-Debug2/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:710 (add_executable): add_executable cannot create target "stenciloutline" because another target with the same name already exists. The existing target is an executable created in source directory "/home/tim/dev/qt6-dev/qtbase/tests/manual/rhi/stenciloutline". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): /home/tim/build/build-qt6-dev-clang_18_qt_dev-Debug2/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:651 (_qt_internal_create_executable) /home/tim/build/build-qt6-dev-clang_18_qt_dev-Debug2/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:964 (qt6_add_executable) qtquick3d/examples/quick3d/extensions/stenciloutline/CMakeLists.txt:11 (qt_add_executable)