2 add_subdirectory( tests )
4 include_directories( ${CMAKE_SOURCE_DIR}/khtml ${CMAKE_SOURCE_DIR}/kio/kssl )
5 include_directories( ${CMAKE_BINARY_DIR}/kio/kssl )
8 ########### next target ###############
11 ########### next target ###############
13 set(kjavaappletviewer_PART_SRCS
15 kjavaappletcontext.cpp
24 kde4_add_plugin(kjavaappletviewer ${kjavaappletviewer_PART_SRCS})
26 target_link_libraries(kjavaappletviewer ${KDE4_KPARTS_LIBS})
28 install(TARGETS kjavaappletviewer DESTINATION ${PLUGIN_INSTALL_DIR} )
30 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/kjava.policy.in.cmake ${CMAKE_CURRENT_BINARY_DIR}/kjava.policy )
31 #macro_additional_clean_files( ${CMAKE_CURRENT_BINARY_DIR}/kjava.policy )
32 add_definitions(-DMAKE_KHTML_LIB)
34 ########### install files ###############
37 install( FILES kjava.jar ${CMAKE_CURRENT_BINARY_DIR}/kjava.policy pluginsinfo DESTINATION ${DATA_INSTALL_DIR}/kjava/ )
38 install( FILES kjavaappletviewer.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
39 kde4_install_icons( ${DATA_INSTALL_DIR}/kjava/icons )