[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/graphics/okular/epub
From: Pino Toscano <toscano.pino () tiscali ! it>
Date: 2008-02-13 19:14:51
Message-ID: 1202930091.261179.15592.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 774655 by pino:
find and require the epub library
M +6 -3 CMakeLists.txt
--- trunk/playground/graphics/okular/epub/CMakeLists.txt #774654:774655
@@ -3,10 +3,15 @@
find_package(Okular REQUIRED)
+set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
+
+find_package(EPub REQUIRED)
+
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
include_directories(
${KDE4_INCLUDES}
${OKULAR_INCLUDE_DIR}
+ ${EPUB_INCLUDE_DIR}
)
@@ -19,9 +24,7 @@
kde4_add_plugin(okularGenerator_epub ${okularGenerator_epub_PART_SRCS})
-include_directories (/usr/local/include ${LIBXML2_INCLUDE_DIR} \
${LIBZIP_INCLUDE_DIR})
-link_directories (/usr/local/lib)
-target_link_libraries(okularGenerator_epub ${OKULAR_LIBRARIES} epub ${KDE4_KIO_LIBS} \
${MATH_LIB} ) +target_link_libraries(okularGenerator_epub ${OKULAR_LIBRARIES} \
${EPUB_LIBRARIES} ${KDE4_KIO_LIBS} ${MATH_LIB})
install(TARGETS okularGenerator_epub DESTINATION ${PLUGIN_INSTALL_DIR})
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic