From 9445c69a5148b9ef070aca2e73d94b38e9f4ce79 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Wed, 6 Dec 2017 17:06:17 +0100 Subject: Added ODROID support (thanks to @meveric) --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c2a26c..49927f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,7 @@ cmake_minimum_required(VERSION 2.8) option(PANDORA "Set to ON if targeting an OpenPandora device" ${PANDORA}) +option(ODROID "Set to ON if targeting an ODroid device" ${ODROID}) option(PYRA "Set to ON if targeting an DragonBox Pyra device" ${PANDORA}) option(CHIP "Set to ON if targeting an PocketCHIP device" ${PANDORA}) @@ -14,7 +15,10 @@ endif() if(CHIP) add_definitions(-DCHIP) endif() - +if(ODROID) + add_definitions(-DODROID) + set (EXTRA_LIBS ${EXTRA_LIBS} X11) +endif() #create a _SDL2 later? add_definitions(-D_SDL) -- cgit v1.2.3