okular/shell/CMakeLists.txt
Laurent Montel acb44a49d5 Apply Alex patch (now we can use enable-final argument
some module compiles with enable-final now)
As discussed with Alex it's not necessary to have program name
into automoc macro

svn path=/trunk/playground/graphics/okular/; revision=598341
2006-10-23 09:29:10 +00:00

20 lines
463 B
CMake

########### next target ###############
set(okular_SRCS main.cpp shell.cpp )
kde4_automoc(${okular_SRCS})
kde4_add_executable(okular ${okular_SRCS})
target_link_libraries(okular ${KDE4_KPARTS_LIBS} ${KDE4_KDE3SUPPORT_LIBRARY} )
install(TARGETS okular DESTINATION ${BIN_INSTALL_DIR})
########### install files ###############
install( FILES okular.desktop DESTINATION ${XDG_APPS_DIR} )
install( FILES shell.rc DESTINATION ${DATA_INSTALL_DIR}/okular )