summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby Sudekum <bobby@mapbox.com>2017-06-01 08:40:06 -0700
committerBobby Sudekum <bobby@mapbox.com>2017-06-01 08:41:23 -0700
commit4e22a2601c4e73dc2ef6656733f209ad466c3613 (patch)
tree4912bcc7cb23e71c683000dc9acb2ed96736be35
parentac19fe545de1466629fd24c769869c1916a1aa68 (diff)
downloadqtlocation-mapboxgl-upstream/with-symbols.tar.gz
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 50e82553a4..dc432029ba 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -73,6 +73,7 @@ if(APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=unused-command-line-argument")
endif()
set(CMAKE_CXX_FLAGS_RELEASE "-Os -DNDEBUG")
+SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -DNDEBUG")
if(CMAKE_COMPILER_IS_GNUCXX)
# https://svn.boost.org/trac/boost/ticket/9240