summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-11-22 12:29:50 +0100
committerKonstantin Käfer <mail@kkaefer.com>2016-11-22 20:58:51 +0100
commit67ed3ae3eb25e5bb0ec2d0369d042438bd9b2c7f (patch)
treea71ef8fdf2ec4d080ceef8e4106e8db9ef5a26ff /cmake
parent9353fcbf4cde1f8ca2e0d30cabeb64aa3528682e (diff)
downloadqtlocation-mapboxgl-67ed3ae3eb25e5bb0ec2d0369d042438bd9b2c7f.tar.gz
[build] move GLFW-related files to platform/glfw
Diffstat (limited to 'cmake')
-rw-r--r--cmake/core-files.cmake2
-rw-r--r--cmake/glfw.cmake10
2 files changed, 5 insertions, 7 deletions
diff --git a/cmake/core-files.cmake b/cmake/core-files.cmake
index ee7f786596..c4a28524b1 100644
--- a/cmake/core-files.cmake
+++ b/cmake/core-files.cmake
@@ -138,11 +138,9 @@ set(MBGL_CORE_FILES
src/mbgl/platform/log.cpp
# platform/default
- include/mbgl/platform/default/glfw_view.hpp
include/mbgl/platform/default/headless_backend.hpp
include/mbgl/platform/default/headless_display.hpp
include/mbgl/platform/default/offscreen_view.hpp
- include/mbgl/platform/default/settings_json.hpp
include/mbgl/platform/default/thread_pool.hpp
# programs
diff --git a/cmake/glfw.cmake b/cmake/glfw.cmake
index 5d810d319e..d63bdbc1cf 100644
--- a/cmake/glfw.cmake
+++ b/cmake/glfw.cmake
@@ -1,12 +1,12 @@
add_executable(mbgl-glfw
- bin/glfw.cpp
+ platform/glfw/main.cpp
)
target_sources(mbgl-glfw
- PRIVATE include/mbgl/platform/default/glfw_view.hpp
- PRIVATE platform/default/glfw_view.cpp
- PRIVATE include/mbgl/platform/default/settings_json.hpp
- PRIVATE platform/default/settings_json.cpp
+ PRIVATE platform/glfw/glfw_view.hpp
+ PRIVATE platform/glfw/glfw_view.cpp
+ PRIVATE platform/glfw/settings_json.hpp
+ PRIVATE platform/glfw/settings_json.cpp
PRIVATE platform/default/mbgl/util/default_styles.hpp
PRIVATE platform/default/mbgl/util/default_styles.cpp
)