Skip to content
Snippets Groups Projects
Commit b784b698 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

SuperBuild: Shark: add flag for GCC

parent 740544f7
No related branches found
No related tags found
2 merge requests!31WIP: Update shark rf,!26Update Shark Random Forest implementation
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 )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment