Skip to content
GitLab
Menu
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
b968332b
Commit
b968332b
authored
Oct 04, 2016
by
Bastien Jacquet
Committed by
ladmin
Oct 21, 2016
Browse files
Fail if compiling qt without CMAKE_OSX_SYSROOT or CMAKE_OSX_ARCHITECTURES configured
parent
eec61021
Changes
1
Hide whitespace changes
Inline
Side-by-side
Projects/qt.cmake
View file @
b968332b
...
...
@@ -12,6 +12,9 @@ if (NOT APPLE AND UNIX)
${
SuperBuild_PROJECTS_DIR
}
/patches/qt.src.3rdparty.webkit.Source.WebKit.pri
<SOURCE_DIR>/src/3rdparty/webkit/Source/WebKit.pri
)
elseif
(
APPLE
)
if
(
NOT DEFINED CMAKE_OSX_SYSROOT OR NOT DEFINED CMAKE_OSX_ARCHITECTURES
)
message
(
FATAL
"CMAKE_OSX_SYSROOT or CMAKE_OSX_ARCHITECTURES are not configured"
)
endif
()
list
(
APPEND qt_options
-sdk
${
CMAKE_OSX_SYSROOT
}
-arch
${
CMAKE_OSX_ARCHITECTURES
}
...
...
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