Skip to content

Commit

Permalink
contrib: set archive tool for cmake on OSX too
Browse files Browse the repository at this point in the history
Signed-off-by: Rafaël Carré <[email protected]>
  • Loading branch information
kodawah authored and funman committed Jul 1, 2014
1 parent bd05cf8 commit 3ba6497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/src/main.mak
Original file line number Diff line number Diff line change
Expand Up @@ -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))" >> $@
Expand Down

0 comments on commit 3ba6497

Please sign in to comment.