summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRay-V <[email protected]>2020-04-12 14:21:15 +0100
committerSlávek Banko <[email protected]>2020-04-14 19:23:22 +0200
commitd7e0a636402f1e941d6dfb9026045ffe03625571 (patch)
tree1ee55f66d68b6435f0fbd09cfdcbc4f5b6a1572f /src
parente8e0d1873f3a6d21a3f6b290e87db6f5fa198858 (diff)
downloadabakus-d7e0a636402f1e941d6dfb9026045ffe03625571.tar.gz
abakus-d7e0a636402f1e941d6dfb9026045ffe03625571.zip
Enable build with mpfr library.r14.0.8
Signed-off-by: Ray-V <[email protected]> (cherry picked from commit 0c17ab1f205806375da358351f7f51deae260d93)
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index be6ddd2..a29fed0 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -37,11 +37,11 @@ GENERATE_BISON_FLEX_SOURCES(${CMAKE_SOURCE_DIR}/src/parser.yy "" ${CMAKE_SOURCE_
if( HAVE_MPFR )
set( MPFR_SOURCES "" )
- set( MPFR_LIBRARIES "mpfr gmp" )
-else( HAVE_MPFR )
+ set( MPFR_LIBRARIES mpfr gmp )
+else( )
set( MPFR_SOURCES hmath.cpp number.c )
set( MPFR_LIBRARIES "" )
-endif( HAVE_MPFR )
+endif( )
tde_add_executable( abakus AUTOMOC
SOURCES abakus.cpp abakuslistview.cpp