Commit 9396fb6e authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Felix Paul Kühne

contrib: set archive tool for cmake on OSX too

Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
(cherry picked from commit 3ba6497f6fa3ef219d387a79f1c4552071313c44)
Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent f465dc6f
......@@ -413,8 +413,8 @@ ifdef HAVE_DARWIN_OS
echo "set(CMAKE_C_FLAGS $(CFLAGS))" >> $@
echo "set(CMAKE_CXX_FLAGS $(CFLAGS))" >> $@
echo "set(CMAKE_LD_FLAGS $(LDFLAGS))" >> $@
ifdef HAVE_IOS
echo "set(CMAKE_AR ar CACHE FILEPATH "Archiver")" >> $@
ifdef HAVE_IOS
echo "set(CMAKE_OSX_SYSROOT $(IOS_SDK))" >> $@
else
echo "set(CMAKE_OSX_SYSROOT $(MACOSX_SDK))" >> $@
......
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