From b784b698c9cef59677df7fe7ee34f4434ec75366 Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Mon, 5 Feb 2018 18:32:50 +0100
Subject: [PATCH] SuperBuild: Shark: add flag for GCC

---
 .../patches/SHARK/shark-2-ext-num-literals.diff     | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 SuperBuild/patches/SHARK/shark-2-ext-num-literals.diff

diff --git a/SuperBuild/patches/SHARK/shark-2-ext-num-literals.diff b/SuperBuild/patches/SHARK/shark-2-ext-num-literals.diff
new file mode 100644
index 0000000000..0b964c1b9a
--- /dev/null
+++ b/SuperBuild/patches/SHARK/shark-2-ext-num-literals.diff
@@ -0,0 +1,13 @@
+diff -burN Shark.orig/CMakeLists.txt Shark/CMakeLists.txt
+--- Shark.orig/CMakeLists.txt	2018-02-05 18:04:58.012612932 +0100
++++ Shark/CMakeLists.txt	2018-02-05 18:20:50.032233165 +0100
+@@ -415,6 +415,9 @@
+ #####################################################################
+ #                       General Path settings
+ #####################################################################
++if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
++  add_definitions(-fext-numeric-literals)
++endif()
+ include_directories( ${shark_SOURCE_DIR}/include )
+ include_directories( ${shark_BINARY_DIR}/include )
+ add_subdirectory( include )
-- 
GitLab