[build] exclude CMake 3.6.0 due to an automoc naming bug
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
# This file is to be reused by target platforms that don't
|
||||
# support `mason` (i.e. Yocto). Do not add any `mason` macro.
|
||||
|
||||
if (CMAKE_VERSION VERSION_EQUAL "3.6.0")
|
||||
# CMake 3.6.0 is buggy: https://gitlab.kitware.com/cmake/cmake/issues/16209
|
||||
message(FATAL_ERROR "CMake 3.6.0 is not supported due to a bug in automoc name generation. Please upgrade or downgrade.")
|
||||
endif()
|
||||
|
||||
option(WITH_QT_DECODERS "Use builtin Qt image decoders" OFF)
|
||||
option(WITH_QT_4 "Use Qt4 instead of Qt5" OFF)
|
||||
|
||||
|
||||
@@ -12,11 +12,7 @@
|
||||
// Needs to be on the global namespace
|
||||
// for linking purposes.
|
||||
void initResources() {
|
||||
#if defined(__APPLE__)
|
||||
Q_INIT_RESOURCE(platform_qt_qmapbox);
|
||||
#else
|
||||
Q_INIT_RESOURCE(qmapbox);
|
||||
#endif
|
||||
}
|
||||
|
||||
namespace mbgl {
|
||||
|
||||
Reference in New Issue
Block a user