From c5e4535f9ac06c25bd37529b351fbbf927e82683 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 30 Nov 2017 19:18:45 +0100 Subject: Added PYRA and CHIP support --- CMakeLists.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ef299f..8c2a26c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,18 @@ cmake_minimum_required(VERSION 2.8) option(PANDORA "Set to ON if targeting an OpenPandora device" ${PANDORA}) +option(PYRA "Set to ON if targeting an DragonBox Pyra device" ${PANDORA}) +option(CHIP "Set to ON if targeting an PocketCHIP device" ${PANDORA}) + if(PANDORA) - add_definitions(-DPANDORA -DARM -DNEON) + add_definitions(-DPANDORA) +endif() +if(PYRA) + add_definitions(-DPYRA) +endif() +if(CHIP) + add_definitions(-DCHIP) endif() #create a _SDL2 later? -- cgit v1.2.3