summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-04-05 16:36:52 +0200
committerKonstantin Käfer <mail@kkaefer.com>2017-04-06 18:31:34 +0200
commite26308f1b9947a88438b9cf8ded5c2076861d2cf (patch)
treeb7477a18f5036841fba029e6d8b39dada2d74529 /cmake
parent83824203143d85b40362317ba76313b34be782e4 (diff)
downloadqtlocation-mapboxgl-e26308f1b9947a88438b9cf8ded5c2076861d2cf.tar.gz
[macos] expose link flags via mbgl-core target
Diffstat (limited to 'cmake')
-rw-r--r--cmake/mbgl.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/mbgl.cmake b/cmake/mbgl.cmake
index 429e4d6172..14e5b0d691 100644
--- a/cmake/mbgl.cmake
+++ b/cmake/mbgl.cmake
@@ -89,6 +89,7 @@ function(_get_xcconfig_property target var)
get_property(result TARGET ${target} PROPERTY INTERFACE_${var} SET)
if (result)
get_property(result TARGET ${target} PROPERTY INTERFACE_${var})
+ string(REPLACE ";-framework " ";-framework;" result "${result}")
string(REPLACE ";" "\" \"" result "${result}")
string(REPLACE "-" "_" target "${target}")
set(${target}_${var} "${result}" PARENT_SCOPE)