Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
38c1f53f
Commit
38c1f53f
authored
Feb 18, 2019
by
Guillaume Pasero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
COMP: allow Qt5 to compile on old kernels
parent
2ca03c1e
Pipeline
#258
passed with stage
in 27 minutes and 11 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
SuperBuild/CMake/External_qt5.cmake
SuperBuild/CMake/External_qt5.cmake
+4
-0
SuperBuild/CMakeLists.txt
SuperBuild/CMakeLists.txt
+7
-0
No files found.
SuperBuild/CMake/External_qt5.cmake
View file @
38c1f53f
...
...
@@ -106,6 +106,10 @@ elseif(MSVC)
set
(
QT5_SB_CONFIG
"
${
QT5_SB_CONFIG
}
-mp"
)
endif
()
if
(
LINUX AND USE_LOW_KERNEL_VERSION
)
set
(
QT5_SB_CONFIG
"
${
QT5_SB_CONFIG
}
-no-feature-getentropy -no-feature-renameat2"
)
endif
()
if
(
WIN32
)
set
(
QT5_BIN_EXT
".exe"
)
file
(
TO_NATIVE_PATH
${
QT5_SB_SRC
}
/configure.bat QT5_CONFIGURE_SCRIPT
)
...
...
SuperBuild/CMakeLists.txt
View file @
38c1f53f
...
...
@@ -117,6 +117,13 @@ set(SUPERBUILD_OTB_VERSION "${SUPERBUILD_OTB_VERSION_MAJOR}.${SUPERBUILD_OTB_VER
message
(
"OTB version :
${
SUPERBUILD_OTB_VERSION
}
"
)
# Special setting for low kernel versions
if
(
LINUX
)
option
(
USE_LOW_KERNEL_VERSION
"Try to keep the minimal kernel version as low as possible"
OFF
)
endif
()
# Default install prefix
get_filename_component
(
PARENT_OF_BINARY_DIR
${
CMAKE_BINARY_DIR
}
PATH
)
if
(
CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT AND NOT USE_DEFAULT_INSTALL_PREFIX
)
set
(
CMAKE_INSTALL_PREFIX
...
...
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