]> sigrok.org Git - pulseview.git/commitdiff
CMakeLists.txt: Avoid -fext-numeric-literals, (not supported by clang).
authorUwe Hermann <redacted>
Sat, 3 Dec 2016 21:23:24 +0000 (22:23 +0100)
committerUwe Hermann <redacted>
Sat, 3 Dec 2016 21:23:24 +0000 (22:23 +0100)
This (re-)fixes bug #863.

CMakeLists.txt

index e101f96a8255ca5beaf2d1997cf0dc3e886b3a2a..a28f4f37f3a0bc107ac75b502ab71490d2112166 100644 (file)
@@ -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)