Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
f26a3642
Commit
f26a3642
authored
Nov 04, 2020
by
Daniel Vrátil
🤖
Committed by
Laurent Montel
Nov 05, 2020
Browse files
Fix cmake when Inotify is not found
parent
30e19e6e
Changes
1
Show whitespace changes
Inline
Side-by-side
messageviewer/src/CMakeLists.txt
View file @
f26a3642
...
...
@@ -304,7 +304,11 @@ add_library(KF5MessageViewer ${libmessageviewer_SRCS})
generate_export_header
(
KF5MessageViewer BASE_NAME messageviewer
)
add_library
(
KF5::MessageViewer ALIAS KF5MessageViewer
)
target_include_directories
(
KF5MessageViewer INTERFACE
"$<INSTALL_INTERFACE:
${
KDE_INSTALL_INCLUDEDIR_KF5
}
/MessageViewer/;
${
KDE_INSTALL_INCLUDEDIR_KF5
}
/messageviewer>;
${
Inotify_INCLUDE_DIRS
}
"
)
if
(
${
Inotify_FOUND
}
)
target_include_directories
(
KF5MessageViewer INTERFACE
"$<INSTALL_INTERFACE:
${
KDE_INSTALL_INCLUDEDIR_KF5
}
/MessageViewer/;
${
KDE_INSTALL_INCLUDEDIR_KF5
}
/messageviewer>;
${
Inotify_INCLUDE_DIRS
}
"
)
else
()
target_include_directories
(
KF5MessageViewer INTERFACE
"$<INSTALL_INTERFACE:
${
KDE_INSTALL_INCLUDEDIR_KF5
}
/MessageViewer/;
${
KDE_INSTALL_INCLUDEDIR_KF5
}
/messageviewer>"
)
endif
()
if
(
${
Qca-qt5_FOUND
}
)
set
(
OPTIONAL_PRIVATE qca-qt5
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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