From 8e572500473e873d2d72bad22f376c02a752f495 Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Wed, 20 Jul 2022 06:48:52 +0200 Subject: [PATCH] cmake: Define RASPBERRYPI macro on Raspberry Pi builds --- cmake/libsuperderpy.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/libsuperderpy.cmake b/cmake/libsuperderpy.cmake index c3afe54..489182e 100644 --- a/cmake/libsuperderpy.cmake +++ b/cmake/libsuperderpy.cmake @@ -229,6 +229,10 @@ if (NOT LIBSUPERDERPY_CONFIG_INCLUDED) add_definitions(-DPOCKETCHIP=1) endif(POCKETCHIP) + if(RASPBERRYPI) + add_definitions(-DRASPBERRYPI=1) + endif(RASPBERRYPI) + if(VITA) add_definitions(-DLIBSUPERDERPY_VITA_HEAP_SIZE=${VITA_HEAP_SIZE}) endif(VITA)