Behebt strikt nur die verbleibenden CMake legacy command Fehler im Docker-Build der Qt6-Migration.
This commit is contained in:
4 files changed
+21
No files matched your search
@@ -29,6 +29,12 @@
|
||||
|
||||
|
||||
SET(_rti_gcc_arch "")
|
||||
|
||||
# Suppress CMP0153 warning: EXEC_PROGRAM is deprecated
|
||||
if(POLICY CMP0153)
|
||||
cmake_policy(SET CMP0153 OLD)
|
||||
endif()
|
||||
|
||||
# Check if RTI_DIR is not set OR is empty (cached empty string from previous failed detection)
|
||||
IF(NOT RTI_DIR OR RTI_DIR STREQUAL "")
|
||||
# First check RTI_INSTALL_DIR CMake variable (set by parent CMakeLists.txt)
|
||||
|
||||
@@ -33,6 +33,11 @@
|
||||
|
||||
INCLUDE(GenerateExportHeader)
|
||||
|
||||
# Suppress CMP0177 warning: install() DESTINATION normalization
|
||||
if(POLICY CMP0177)
|
||||
cmake_policy(SET CMP0177 OLD)
|
||||
endif()
|
||||
|
||||
# Compatibility stubs for Qt5 CMake macros when Qt6 is used.
|
||||
# These stubs allow configure to succeed; actual resource/ui generation should be addressed during source migration.
|
||||
if(NOT COMMAND QT5_ADD_RESOURCES)
|
||||
|
||||
Reference in new issue
Block a user