Browse Source

contrib: don't force the ANDROID variable

It should be done by the NDK toolchain or by CMake when using the proper CMAKE_SYSTEM_NAME.
pull/176/head
Steve Lhomme 1 year ago
parent
commit
96c80ec780
  1. 3
      contrib/src/main.mak

3
contrib/src/main.mak

@ -506,9 +506,6 @@ endif
ifdef HAVE_WIN32
CMAKE += -DCMAKE_DEBUG_POSTFIX:STRING=
endif
ifdef HAVE_ANDROID
CMAKE += -DANDROID:BOOL=ON
endif
ifdef MSYS_BUILD
CMAKE = PKG_CONFIG_LIBDIR="$(PKG_CONFIG_PATH)" $(CMAKE)
CMAKE += -DCMAKE_LINK_LIBRARY_SUFFIX:STRING=.a

Loading…
Cancel
Save