summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-11-12 10:57:57 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-11-14 16:56:10 +0100
commit52da0e6d314db579c4aa040bcd3e68b539d7e24c (patch)
tree24ea6abdf54df2fa45caddd4566ff1d673848a81
parent36dea5ea0d3ca294d61cd030d23644a312e223a1 (diff)
downloadqtlocation-mapboxgl-52da0e6d314db579c4aa040bcd3e68b539d7e24c.tar.gz
[Qt] Copy headers to build path in 'qt-lib' target
-rw-r--r--platform/qt/qt.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/qt/qt.cmake b/platform/qt/qt.cmake
index 398e173cfa..648d01f64b 100644
--- a/platform/qt/qt.cmake
+++ b/platform/qt/qt.cmake
@@ -92,3 +92,11 @@ else()
PRIVATE -lGL
)
endif()
+
+add_custom_command(
+ TARGET qmapboxgl
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy_directory
+ ${CMAKE_SOURCE_DIR}/platform/qt/include
+ ${CMAKE_CURRENT_BINARY_DIR}/platform/qt/include
+)