summaryrefslogtreecommitdiff
path: root/cmake/glfw.cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-03-13 18:35:29 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-03-13 20:42:30 +0100
commit979433eddb5a8f2180aba134befb08b222718bc8 (patch)
treea307962a9105152514b6ab37f98818b6d4431204 /cmake/glfw.cmake
parente9805b60ee77fcb91dcaac89c09290d185d072bd (diff)
downloadqtlocation-mapboxgl-979433eddb5a8f2180aba134befb08b222718bc8.tar.gz
[build] update Boost to 1.69 and remove RTTI
Diffstat (limited to 'cmake/glfw.cmake')
-rw-r--r--cmake/glfw.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/glfw.cmake b/cmake/glfw.cmake
index b87ba74caf..a2adb9fbb5 100644
--- a/cmake/glfw.cmake
+++ b/cmake/glfw.cmake
@@ -2,6 +2,9 @@ add_executable(mbgl-glfw
platform/glfw/main.cpp
)
+# args requires RTTI
+set_source_files_properties(platform/glfw/main.cpp PROPERTIES COMPILE_OPTIONS "-frtti")
+
target_sources(mbgl-glfw
PRIVATE platform/glfw/glfw_view.hpp
PRIVATE platform/glfw/glfw_view.cpp