mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-19 07:51:27 +00:00
acb44a49d5
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
20 lines
463 B
CMake
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 )
|
|
|
|
|