cmake-gui: Qt 6.2 bootstrap script failure
Download cmake-3.21.3.tar.gz and ran ./bootstrap. Then built OK. However when setting BUILD_QtDialog:BOOL=ON
the build fails:
CMake Error at /home/amaclean/Qt/6.2.0/gcc_64/lib/cmake/Qt6/QtPublicTargetHelpers.cmake:298 (cmake_language):
Unknown CMake command "cmake_language".
Call Stack (most recent call first):
/home/amaclean/Qt/6.2.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:242 (__qt_internal_defer_promote_targets_in_dir_scope_to_global)
Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/home/amaclean/Qt/6.2.0/gcc_64/lib/cmake/Qt6Widgets/Qt6WidgetsDependencies.cmake:8 (find_dependency)
/home/amaclean/Qt/6.2.0/gcc_64/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake:40 (include)
Source/QtDialog/CMakeLists.txt:23 (find_package)
There are no problems building cmake-gui from the CMake sources. This makes me think it is a configuration issue related to bootstrapping.
Edited by Brad King