Commit 5ec298c1 authored by Frederik Gladhorn's avatar Frederik Gladhorn
Browse files

Fix linking

parent 1703f2df
......@@ -14,6 +14,7 @@ set_package_properties("KActivities" PROPERTIES
if(KActivities_FOUND)
add_definitions(-DKActivities_FOUND)
include_directories(${KACTIVITIES_INCLUDE_DIRS})
target_link_libraries(okular KF5::KActivities)
endif(KActivities_FOUND)
# okular
......@@ -28,7 +29,7 @@ kde4_add_app_icon(okular_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../ui/data/icons/hi*-
kde4_add_executable(okular ${okular_SRCS})
target_link_libraries(okular KF5::Parts KF5::KActivities)
target_link_libraries(okular KF5::Parts KF5::WindowSystem KF5::KDELibs4Support)
install(TARGETS okular ${INSTALL_TARGETS_DEFAULT_ARGS})
......
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