diff options
author | Ray-V <ray-v@inbox.lv> | 2020-04-12 14:21:15 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-04-14 19:07:21 +0200 |
commit | 0c17ab1f205806375da358351f7f51deae260d93 (patch) | |
tree | d5daef8ffc76b51936876a8ee1f8ae65d8d6f0a4 /src/CMakeLists.txt | |
parent | 76107d3cc185cad16d3438b5cfe020eaa06fe8d0 (diff) | |
download | abakus-0c17ab1f205806375da358351f7f51deae260d93.tar.gz abakus-0c17ab1f205806375da358351f7f51deae260d93.zip |
Enable build with mpfr library.
Signed-off-by: Ray-V <ray-v@inbox.lv>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 6 |
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 |