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
Okteta
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
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
Utilities
Okteta
Commits
393cc68e
Commit
393cc68e
authored
Jun 14, 2016
by
Friedrich W. H. Kossebau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Depend designer plugin on Qt5UiPlugin_FOUND, when needed
parent
80cc4bc1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CMakeLists.txt
CMakeLists.txt
+3
-0
designer/CMakeLists.txt
designer/CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
393cc68e
...
...
@@ -51,6 +51,9 @@ if(NOT Qt5Designer_VERSION_STRING VERSION_LESS 5.5.0)
# for some reason, Qt5UiPlugin does not set its _INCLUDE_DIRS variable. Fill it manually
get_target_property
(
Qt5UiPlugin_INCLUDE_DIRS Qt5::UiPlugin INTERFACE_INCLUDE_DIRECTORIES
)
endif
()
set
(
DesignerPluginDeps_FOUND
${
Qt5UiPlugin_FOUND
}
)
else
()
set
(
DesignerPluginDeps_FOUND
${
Qt5Designer_FOUND
}
)
endif
()
...
...
designer/CMakeLists.txt
View file @
393cc68e
if
(
NOT
Qt5Designer
_FOUND
)
if
(
NOT
DesignerPluginDeps
_FOUND
)
return
()
endif
()
...
...
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