summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a7365d2..a29fed0 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -23,22 +23,25 @@ link_directories(
include( ${CMAKE_SOURCE_DIR}/BisonMacros.cmake )
+
##### other data ################################
-install( FILES abakus.desktop DESTINATION ${APPS_INSTALL_DIR}/Utilities )
+tde_create_translated_desktop( abakus.desktop )
+
install( FILES abakusui.rc DESTINATION ${DATA_INSTALL_DIR}/abakus )
+
##### abakus (executable) #######################
GENERATE_BISON_FLEX_SOURCES(${CMAKE_SOURCE_DIR}/src/parser.yy "" ${CMAKE_SOURCE_DIR}/src/lexer.ll "")
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