From 41f8c2c8632b3a5b2c571b3934951a1743577f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 9 Nov 2012 22:26:52 +0100 Subject: [PATCH] Enable GCC 4.6 compatibility if GCC 4.4/4.5 compatibility is enabled. --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7ca86f181..e76376cc7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -14,6 +14,9 @@ if(TARGET_GLES2) set(MAGNUM_TARGET_GLES2 1) endif() +if(CORRADE_GCC44_COMPATIBILITY) + set(GCC46_COMPATIBILITY 1) +endif() if(GCC46_COMPATIBILITY) set(MAGNUM_GCC46_COMPATIBILITY 1) endif()