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
Telemetry
KUserFeedback
Commits
3373cff2
Commit
3373cff2
authored
Feb 18, 2017
by
Volker Krause
Browse files
Build more stuff if KF5::WidgetAddons isn't present
parent
61ff2a3c
Changes
3
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
3373cff2
...
...
@@ -159,7 +159,7 @@ configure_file(config-userfeedback-version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/c
#
add_subdirectory
(
provider
)
add_subdirectory
(
server
)
if
(
Qt5Charts_FOUND AND
KF5WidgetsAddons_FOUND AND
NOT CMAKE_VERSION VERSION_LESS 3.0
)
# analyzer is Qt5 only and needs AUTOUIC support
if
(
Qt5Charts_FOUND AND NOT CMAKE_VERSION VERSION_LESS 3.0
)
# analyzer is Qt5 only and needs AUTOUIC support
add_subdirectory
(
analyzer
)
add_subdirectory
(
tests/manual
)
endif
()
...
...
analyzer/CMakeLists.txt
View file @
3373cff2
...
...
@@ -35,6 +35,10 @@ target_link_libraries(UserFeedbackAnalyzer Qt5::Network)
target_include_directories
(
UserFeedbackAnalyzer PUBLIC
"$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
;>"
)
target_compile_features
(
UserFeedbackAnalyzer PRIVATE cxx_generic_lambdas
)
if
(
NOT TARGET UserFeedbackWidgets
)
return
()
endif
()
set
(
analyzer_srcs
connectdialog.cpp
main.cpp
...
...
tests/manual/CMakeLists.txt
View file @
3373cff2
include_directories
(
${
CMAKE_SOURCE_DIR
}
${
CMAKE_BINARY_DIR
}
/provider/core
)
add_executable
(
orwell orwell.cpp
)
target_link_libraries
(
orwell UserFeedbackWidgets
${
QT_QTGUI_LIBRARIES
}
)
if
(
TARGET UserFeedbackWidgets
)
add_executable
(
orwell orwell.cpp
)
target_link_libraries
(
orwell UserFeedbackWidgets
${
QT_QTGUI_LIBRARIES
}
)
endif
()
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