From cc208f3219290813f2c24214227924d0370f0e28 Mon Sep 17 00:00:00 2001 From: Niel Nielsen Date: Tue, 25 Aug 2026 10:45:38 +0200 Subject: [PATCH] Define DEFAULT_PM5 for PM5 platform Add definition for PM5 platform in CMakeLists.txt Signed-off-by: Niel Nielsen --- client/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 75d0058db..9c2a8deb2 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -574,6 +574,10 @@ if (APPLE) endif() endif (APPLE) +if(PLATFORM STREQUAL "PM5") + add_definitions("-DDEFAULT_PM5") +endif() + if ((NOT SKIPQT EQUAL 1) AND (Qt5_FOUND OR Qt6_FOUND)) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON)