Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SDK
KDiff3
Commits
c8d65015
Commit
c8d65015
authored
Jul 11, 2016
by
Michael Reeves
Browse files
*fix CMake issues
parent
d332ce68
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
c8d65015
...
...
@@ -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"
)
...
...
kdiff3fileitemactionplugin/CMakeLists.txt
View file @
c8d65015
find_package
(
KF5
${
KF5_MIN_VERSION
}
REQUIRED COMPONENTS KIO
)
add_library
(
kdiff3fileitemaction MODULE kdiff3fileitemaction.cpp
)
target_link_libraries
(
kdiff3fileitemaction K
F5::KIOCore
${
LibKDiff3_LIBRARIES
}
)
target_link_libraries
(
kdiff3fileitemaction K
IO
${
LibKDiff3_LIBRARIES
}
)
install
(
TARGETS kdiff3fileitemaction DESTINATION
${
PLUGIN_INSTALL_DIR
}
)
install
(
FILES kdiff3fileitemaction.desktop DESTINATION
${
SERVICES_INSTALL_DIR
}
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment