From: Uwe Hermann Date: Sat, 3 Dec 2016 21:23:24 +0000 (+0100) Subject: CMakeLists.txt: Avoid -fext-numeric-literals, (not supported by clang). X-Git-Tag: pulseview-0.4.0~241 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a838ed7b0112b59a4a5fde684605f3e2b2797e37;p=pulseview.git CMakeLists.txt: Avoid -fext-numeric-literals, (not supported by clang). This (re-)fixes bug #863. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e101f96a..a28f4f37 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -396,7 +396,7 @@ add_definitions(${QT_DEFINITIONS} -DQT_NO_KEYWORDS) add_definitions(-D__STDC_LIMIT_MACROS) add_definitions(-Wall -Wextra) add_definitions(-std=c++11) -add_definitions(-fext-numeric-literals) +add_definitions(-DBOOST_MATH_DISABLE_FLOAT128=1) if(ENABLE_DECODE) add_definitions(-DENABLE_DECODE)