summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-09-10 23:13:32 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-09-11 11:33:34 +0300
commit102a07cc63a4fb4a938893de36d8f459ca931f7a (patch)
tree50b23ac22a9ba496420bb9eb7dd1ccab05798b5a /CMakeLists.txt
parent92b3386dece8c010512a10cfbd5c99daf7091f2c (diff)
downloadqtlocation-mapboxgl-102a07cc63a4fb4a938893de36d8f459ca931f7a.tar.gz
[build] Remove CXX11 flag
No longer needed after we vendorized so many deps.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d8881f4a1c..9afded1deb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,7 +22,6 @@ set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.11)
-option(WITH_CXX11ABI "Use the C++11 ABI" ON)
option(WITH_COVERAGE "Enable coverage reports" OFF)
option(WITH_OSMESA "Use OSMesa headless backend" OFF)
option(WITH_EGL "Use EGL backend" OFF)
@@ -40,13 +39,6 @@ include(cmake/mason.cmake)
include(cmake/xcode.cmake)
include(cmake/doxygen.cmake)
-if(WITH_CXX11ABI)
- set(MASON_CXXABI_SUFFIX -cxx11abi)
- add_definitions(-D_GLIBCXX_USE_CXX11_ABI=1)
-else()
- add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0)
-endif()
-
if(WITH_OSMESA AND WITH_EGL)
message(FATAL_ERROR "WITH_OSMESA and WITH_EGL are mutually exclusive.")
endif()