Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LidarView
LidarView-Superbuild
Commits
90f373fb
Commit
90f373fb
authored
Jan 18, 2021
by
Jerome Dias
Browse files
[refactor] Update qt5 superbuild process.
This has been done to follow the steps to manage qt5 in the Paraview Superbuild.
parent
d9fa806b
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
90f373fb
...
...
@@ -150,10 +150,17 @@ function (superbuild_add_packaging)
endif
()
list
(
GET generators 0 default_generator
)
if
(
USE_SYSTEM_qt5
)
if
(
qt5_enabled
AND
(
USE_SYSTEM_qt5 OR APPLE OR WIN32
)
)
list
(
APPEND superbuild_export_variables
Qt5_DIR
)
find_package
(
Qt5 QUIET REQUIRED COMPONENTS Core
)
set
(
qt5_version
"
${
Qt5Core_VERSION_MAJOR
}
.
${
Qt5Core_VERSION_MINOR
}
"
)
else
()
set
(
qt5_version
"
${
qt5_SOURCE_SELECTION
}
"
)
endif
()
list
(
APPEND superbuild_export_variables
qt5_version
)
# pass some variables that are required for packaging step:
list
(
APPEND superbuild_export_variables
...
...
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