From 0c17ab1f205806375da358351f7f51deae260d93 Mon Sep 17 00:00:00 2001 From: Ray-V Date: Sun, 12 Apr 2020 14:21:15 +0100 Subject: Enable build with mpfr library. Signed-off-by: Ray-V --- src/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/CMakeLists.txt') 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 -- cgit v1.2.1