Commit 0346e3a6 authored by Andreas Pakulat's avatar Andreas Pakulat

Revert my change, after a closer inspection it turns out that FindQCA2 is broken.

svn path=/trunk/KDE/kdegraphics/okular/; revision=882981
parent a24ac887
......@@ -9,6 +9,7 @@ macro_log_feature(QCA2_FOUND "QCA" "Qt Cryptographic Architecture (QCA)" "http:/
if ( QCA2_FOUND )
include_directories( ${QCA2_INCLUDE_DIR} )
add_definitions( -DQCA2 )
endif( QCA2_FOUND )
########### next target ###############
......@@ -25,9 +26,11 @@ set(okularGenerator_ooo_PART_SRCS
kde4_add_plugin(okularGenerator_ooo ${okularGenerator_ooo_PART_SRCS})
if (QCA2_FOUND)
target_link_libraries(okularGenerator_ooo okularcore ${KDE4_KIO_LIBS} ${MATH_LIB} ${QCA2_LIBRARIES} ${QT_QTXML_LIBRARY})
else (QCA2_FOUND)
target_link_libraries(okularGenerator_ooo okularcore ${KDE4_KIO_LIBS} ${MATH_LIB} ${QT_QTXML_LIBRARY})
endif (QCA2_FOUND)
install(TARGETS okularGenerator_ooo DESTINATION ${PLUGIN_INSTALL_DIR})
......@@ -37,4 +40,3 @@ install(TARGETS okularGenerator_ooo DESTINATION ${PLUGIN_INSTALL_DIR})
install( FILES libokularGenerator_ooo.desktop okularOoo.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES okularApplication_ooo.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
endif (QCA2_FOUND)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment