[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/lib/kotext
From:       Laurent Montel <montel () kde ! org>
Date:       2006-03-27 14:37:57
Message-ID: 1143470277.285207.9721.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 523157 by mlaurent:

Fix build kohyphen


 M  +9 -3      CMakeLists.txt  


--- trunk/koffice/lib/kotext/CMakeLists.txt #523156:523157
@@ -4,11 +4,17 @@
 add_subdirectory( tests ) 
 
 include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES}  )
+# Need by kohyphen
+set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}  ${KDE4_ENABLE_EXCEPTIONS}")
 
-
 ########### next target ###############
+set(libkohyphen_SRCS 
+	${CMAKE_SOURCE_DIR}/lib/kotext/kohyphen/hnjalloc.c 
+	${CMAKE_SOURCE_DIR}/lib/kotext/kohyphen/hyphen.c 
+	${CMAKE_SOURCE_DIR}/lib/kotext/kohyphen/kohyphen.cpp
+	)
 
-set(kotext_LIB_SRCS 
+set(kotext_LIB_SRCS ${libkohyphen_SRCS}
    KoComplexText.cpp 
    KoRichText.cpp 
    KoTextZoomHandler.cpp 
@@ -73,7 +79,7 @@
 
 kde4_add_library(kotext SHARED ${kotext_LIB_SRCS})
 
-target_link_libraries(kotext  ${KDE4_KDECORE_LIBS} kohyphen kutils )
+target_link_libraries(kotext  ${KDE4_KDECORE_LIBS} kutils )
 
 set_target_properties(kotext PROPERTIES VERSION 3.0.0 SOVERSION 3 )
 install_targets(${LIB_INSTALL_DIR} kotext )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic