Commit db8d2e9a authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib: fix use of 'CMAKE_AR' for iOS

parent dff194b0
......@@ -394,6 +394,9 @@ 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")" >> $@
endif
endif
ifdef HAVE_CROSS_COMPILE
echo "set(_CMAKE_TOOLCHAIN_PREFIX $(HOST)-)" >> $@
......
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