From a83be88b8882ad826512d9db513aac85ae679ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 8 Apr 2017 14:28:27 +0200 Subject: [PATCH] Platform: put code comment on a correct place. --- src/Magnum/Platform/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Magnum/Platform/CMakeLists.txt b/src/Magnum/Platform/CMakeLists.txt index 795cf1a06..24871baff 100644 --- a/src/Magnum/Platform/CMakeLists.txt +++ b/src/Magnum/Platform/CMakeLists.txt @@ -73,6 +73,9 @@ if(WITH_ANDROIDAPPLICATION) add_library(MagnumAndroidApplicationGlue OBJECT ${ANDROID_NATIVE_APP_GLUE_SRC}) set_target_properties(MagnumAndroidApplicationGlue PROPERTIES CORRADE_USE_PEDANTIC_FLAGS OFF) + # They just don't care, so of course the ANativeActivity_onCreate() + # function is not exported and thus the app startup fails if I don't + # disable hidden visibility for the file. target_compile_options(MagnumAndroidApplicationGlue PRIVATE "-fvisibility=default") add_library(MagnumAndroidApplication STATIC @@ -80,9 +83,6 @@ if(WITH_ANDROIDAPPLICATION) ${MagnumAndroidApplication_HEADERS} ${MagnumAndroidApplication_PRIVATE_HEADERS} $) - # They just don't care, so of course the ANativeActivity_onCreate() - # function is not exported and thus the app startup fails if I don't - # disable hidden visibility for the file. target_include_directories(MagnumAndroidApplication PUBLIC ${ANDROID_NATIVE_APP_GLUE_INCLUDE_DIR}) set_target_properties(MagnumAndroidApplication PROPERTIES DEBUG_POSTFIX "-d"