rom-properties/cmake
David Korth e264415bcc [cmake] Fix Qt6 CMake build system issues on Ubuntu 24.10.
- Set QT_NO_CREATE_VERSIONLESS_TARGETS to disable Qt::Core. Otherwise,
  CMake ends up trying to create Qt::Core twice, even when building for
  KF6 only and not KF5+KF6:

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreVersionlessTargets.cmake:42 (message):
  Some (but not all) targets in this export set were already defined.

  Targets Defined: Qt::Core

  Targets not yet defined: Qt::CorePrivate

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreConfig.cmake:68 (include)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:174 (find_package)
  cmake/libs/RP_FindQt6andKF6.cmake:34 (FIND_PACKAGE)
  src/kde/kf6/CMakeLists.txt:6 (FIND_QT6_AND_KF6)

- Don't specify the minimum KF6 version, because that's breaking for
  some reason.

-- Could NOT find KF65.248.0 (missing: KF65.248.0_DIR)
-- Could NOT find KF65.248.0: found neither KF65.248.0Config.cmake nor kf65.248.0-config.cmake
CMake Error at /usr/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find KF6 (missing: 5.248.0) (found version "6.6.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF6.cmake:93 (find_package_handle_standard_args)
  cmake/libs/RP_FindQt6andKF6.cmake:78 (FIND_PACKAGE)
  src/kde/kf6/CMakeLists.txt:6 (FIND_QT6_AND_KF6)

(cherry picked from commit cb507652cb)

Conflicts:
	debian/changelog
2024-11-12 21:08:21 -05:00
..
libs [cmake] Fix Qt6 CMake build system issues on Ubuntu 24.10. 2024-11-12 21:08:21 -05:00
macros Add some workarounds for issues encountered on NixOS. 2024-10-25 01:02:40 -04:00
platform [cmake] msvc.cmake: Disable /permissive- if using an SDK version older than 10.0. 2024-11-10 18:57:20 -05:00
toolchain [scripts] package.cmd: Add ARM, ARM64, and ARM64EC. 2023-07-16 18:28:21 -04:00
cmake_uninstall.cmake.in [cmake] cmake_uninstall.cmake.in: Use EXECUTE_PROCESS() instead of EXEC_PROGRAM(). 2024-03-03 12:51:03 -05:00
options.cmake The KDE 6.x and GTK 4.x UI frontends are no longer experimental. 2024-10-25 01:20:33 -04:00
platform.cmake [cmake] Add flags for RelWithDebInfo. 2024-03-24 16:58:18 -04:00