summaryrefslogtreecommitdiff
path: root/cmake/glfw.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/glfw.cmake')
-rw-r--r--cmake/glfw.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/cmake/glfw.cmake b/cmake/glfw.cmake
index a2adb9fbb5..4ef6890cef 100644
--- a/cmake/glfw.cmake
+++ b/cmake/glfw.cmake
@@ -2,9 +2,6 @@ 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
@@ -23,10 +20,9 @@ target_link_libraries(mbgl-glfw
PRIVATE mbgl-core
PRIVATE glfw
PRIVATE cheap-ruler-cpp
+ PRIVATE args
)
-target_add_mason_package(mbgl-glfw PRIVATE args)
-
mbgl_platform_glfw()
create_source_groups(mbgl-glfw)