Commit c8d65015 authored by Michael Reeves's avatar Michael Reeves
Browse files

*fix CMake issues

parent d332ce68
......@@ -16,14 +16,14 @@ include(FeatureSummary)
include(ECMInstallIcons)
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Gui)
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Gui)
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS I18n DocTools)
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
add_definitions(${QT_DEFINITIONS} ${KF5_DEFINITIONS})
include_directories(
${QT_INCLUDES} ${KF5_INCLUDES}
${QT_INCLUDES} ${KF5_INCLUDES} ${Qt5Core_INCLUDE_DIRS} ${Qt5Core_INCLUDE_DIRS}
${CMAKE_CURRENT_BINARY_DIR}
)
......@@ -34,7 +34,7 @@ add_subdirectory(src)
add_subdirectory(doc)
find_file(KFILEITEMACTIONPLUGIN_FOUND kabstractfileitemactionplugin.h PATHS NO_DEFAULT_PATH)
find_file(KFILEITEMACTIONPLUGIN_FOUND kabstractfileitemactionplugin.h PATHS)
if(KFILEITEMACTIONPLUGIN_FOUND)
message(STATUS "")
message(STATUS "kabstractfileitemactionplugin.h found........... YES")
......
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS KIO)
add_library(kdiff3fileitemaction MODULE kdiff3fileitemaction.cpp)
target_link_libraries(kdiff3fileitemaction KF5::KIOCore ${LibKDiff3_LIBRARIES})
target_link_libraries(kdiff3fileitemaction KIO ${LibKDiff3_LIBRARIES})
install(TARGETS kdiff3fileitemaction DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES kdiff3fileitemaction.desktop DESTINATION ${SERVICES_INSTALL_DIR})
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