cmake: fix compilation of openH264 on iOS by trimming double '//'

parent 5ce9dc4f
......@@ -338,6 +338,14 @@ macro(linphone_builder_set_ep_directories PROJNAME)
set(ep_build "${ep_base}/Build/${PROJNAME}")
# replace "//" with "/" in paths
string(FIND "${ep_build}" "//" must_trim)
while (must_trim GREATER -1)
string(REPLACE "//" "/" ep_build_trim ${ep_build})
set(ep_build ${ep_build_trim})
string(FIND "${ep_build}" "//" must_trim)
# Compute the relative path to the source directory from the build directory
set(common TRUE)
set(not_finished TRUE)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment