Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Discover
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
Discover
Commits
01deaa8c
Commit
01deaa8c
authored
Dec 28, 2017
by
Aleix Pol Gonzalez
🐧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warn if building flatpak is enabled but some dependencies aren't found
BUG: 388295
parent
287aa302
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
CMakeLists.txt
CMakeLists.txt
+5
-0
libdiscover/backends/CMakeLists.txt
libdiscover/backends/CMakeLists.txt
+2
-0
No files found.
CMakeLists.txt
View file @
01deaa8c
...
...
@@ -64,5 +64,10 @@ set_package_properties(AppStreamQt PROPERTIES
URL
"http://www.freedesktop.org"
PURPOSE
"Required to build the PackageKit backend"
TYPE OPTIONAL
)
set_package_properties
(
FLATPAK PROPERTIES
DESCRIPTION
"Library that exposes flatpak repositories"
URL
"http://www.freedesktop.org"
PURPOSE
"Required to build the Flatpak backend"
TYPE OPTIONAL
)
feature_summary
(
WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES
)
libdiscover/backends/CMakeLists.txt
View file @
01deaa8c
...
...
@@ -24,6 +24,8 @@ endif()
option
(
BUILD_FlatpakBackend
"Build Flatpak support"
"ON"
)
if
(
FLATPAK_FOUND AND AppStreamQt_FOUND AND BUILD_FlatpakBackend
)
add_subdirectory
(
FlatpakBackend
)
elseif
(
BUILD_FlatpakBackend
)
message
(
WARNING
"BUILD_FlatpakBackend enabled but Flatpak=
${
FLATPAK_FOUND
}
or AppStreamQt=
${
AppStreamQt_FOUND
}
not found"
)
endif
()
option
(
BUILD_SnapBackend
"Build Snap support. Still a proof of concept"
"OFF"
)
...
...
Write
Preview
Markdown
is supported
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