From 7878d039ec682a5feea572a8919b50c29df56bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 13 Apr 2016 17:49:22 +0200 Subject: [PATCH] Platform: support iOS in magnum-info. --- src/Magnum/Platform/CMakeLists.txt | 2 ++ src/Magnum/Platform/magnum-info.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/Magnum/Platform/CMakeLists.txt b/src/Magnum/Platform/CMakeLists.txt index 43fc624b0..d87ceafff 100644 --- a/src/Magnum/Platform/CMakeLists.txt +++ b/src/Magnum/Platform/CMakeLists.txt @@ -696,6 +696,8 @@ if(WITH_MAGNUMINFO) target_link_libraries(magnum-info Magnum) if(MAGNUM_TARGET_HEADLESS) target_link_libraries(magnum-info MagnumWindowlessEglApplication) + elseif(CORRADE_TARGET_IOS) + target_link_libraries(magnum-info MagnumWindowlessIosApplication) elseif(CORRADE_TARGET_APPLE) target_link_libraries(magnum-info MagnumWindowlessCglApplication) elseif(CORRADE_TARGET_NACL) diff --git a/src/Magnum/Platform/magnum-info.cpp b/src/Magnum/Platform/magnum-info.cpp index 9b81a22d5..067de69c1 100644 --- a/src/Magnum/Platform/magnum-info.cpp +++ b/src/Magnum/Platform/magnum-info.cpp @@ -61,6 +61,8 @@ #include "Magnum/Platform/WindowlessEglApplication.h" #elif defined(CORRADE_TARGET_NACL) #include "Magnum/Platform/WindowlessNaClApplication.h" +#elif defined(CORRADE_TARGET_IOS) +#include "Magnum/Platform/WindowlessIosApplication.h" #elif defined(CORRADE_TARGET_APPLE) #include "Magnum/Platform/WindowlessCglApplication.h" #elif defined(CORRADE_TARGET_UNIX)