diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-01-13 15:58:29 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-01-18 19:06:32 +0100 |
commit | 14fe15e3fc2b4c3013806047d202b3ca6beed259 (patch) | |
tree | c2f81105090b0a274ebecfd12fa1e5057477577f /platform/qt/config.cmake | |
parent | 49da57393a5c5ddff1a7f60620c38858643b1220 (diff) | |
download | qtlocation-mapboxgl-14fe15e3fc2b4c3013806047d202b3ca6beed259.tar.gz |
[Qt] Avoid QApplication duplication via test main()
Diffstat (limited to 'platform/qt/config.cmake')
-rw-r--r-- | platform/qt/config.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/qt/config.cmake b/platform/qt/config.cmake index f2beedcfa2..e1c454c757 100644 --- a/platform/qt/config.cmake +++ b/platform/qt/config.cmake @@ -54,8 +54,6 @@ endmacro() macro(mbgl_platform_test) target_sources(mbgl-test - PRIVATE test/src/main.cpp - PRIVATE platform/qt/test/qmapboxgl.cpp PRIVATE platform/default/mbgl/gl/headless_backend.cpp PRIVATE platform/default/mbgl/gl/headless_backend.hpp PRIVATE platform/default/mbgl/gl/headless_display.cpp @@ -63,10 +61,12 @@ macro(mbgl_platform_test) PRIVATE platform/default/mbgl/gl/offscreen_view.cpp PRIVATE platform/default/mbgl/gl/offscreen_view.hpp PRIVATE platform/qt/test/headless_backend_qt.cpp + PRIVATE platform/qt/test/main.cpp + PRIVATE platform/qt/test/qmapboxgl.cpp ) set_source_files_properties( - test/src/main.cpp + platform/qt/test/main.cpp PROPERTIES COMPILE_FLAGS -DWORK_DIRECTORY="${CMAKE_SOURCE_DIR}" ) |