cmake: Define RASPBERRYPI macro on Raspberry Pi builds

This commit is contained in:
Sebastian Krzyszkowiak 2022-07-20 06:48:52 +02:00
parent 1e90740241
commit 8e57250047
No known key found for this signature in database
GPG key ID: E8F235CF3BDBC3FF

View file

@ -229,6 +229,10 @@ if (NOT LIBSUPERDERPY_CONFIG_INCLUDED)
add_definitions(-DPOCKETCHIP=1) add_definitions(-DPOCKETCHIP=1)
endif(POCKETCHIP) endif(POCKETCHIP)
if(RASPBERRYPI)
add_definitions(-DRASPBERRYPI=1)
endif(RASPBERRYPI)
if(VITA) if(VITA)
add_definitions(-DLIBSUPERDERPY_VITA_HEAP_SIZE=${VITA_HEAP_SIZE}) add_definitions(-DLIBSUPERDERPY_VITA_HEAP_SIZE=${VITA_HEAP_SIZE})
endif(VITA) endif(VITA)