diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-11-20 22:39:52 +0100 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2018-08-27 14:07:40 -0700 |
commit | 1e454642c8bc99698d25105fe0034916e2930fe6 (patch) | |
tree | 3d9b60c1366033c97dfe51d4285d6bf3edf992ed /cmake/mbgl.cmake | |
parent | fd1ed8ce48fc9eaf6793e852381d8c7e648386af (diff) | |
download | qtlocation-mapboxgl-1e454642c8bc99698d25105fe0034916e2930fe6.tar.gz |
[build] allow WITH_EGL for macOS as well (SwiftShader) and enable EGL for GLFW
Diffstat (limited to 'cmake/mbgl.cmake')
-rw-r--r-- | cmake/mbgl.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/mbgl.cmake b/cmake/mbgl.cmake index fdb435ccca..da020cc93f 100644 --- a/cmake/mbgl.cmake +++ b/cmake/mbgl.cmake @@ -174,7 +174,7 @@ function(set_xcconfig_target_properties target) list(APPEND link_flags ${item}) endif() endforeach() - string(REPLACE ";-framework " ";-framework;" link_flags "${link_flags}") + string(REGEX REPLACE "(^|;)-framework " "\\1-framework;" link_flags "${link_flags}") string(REPLACE ";" "\" \"" link_flags "${link_flags}") set_xcode_property(${target} XCCONFIG_LINK_LIBRARIES "${link_flags}") endfunction() |