Skip to content

Commit

Permalink
Merge pull request #56 from JDAI-CV/fix_benchmark_cxx
Browse files Browse the repository at this point in the history
Only specify libcxx for google benchamrk on Android
  • Loading branch information
daquexian authored Oct 10, 2019
2 parents df3d7c1 + ffd2b38 commit 8a98287
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/benchmark.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

macro(configure_benchmark)
# option(BENCHMARK_DOWNLOAD_DEPENDENCIES "" ON)
option(BENCHMARK_USE_LIBCXX "" ON)
if (CMAKE_SYSTEM_NAME STREQUAL "Android")
option(BENCHMARK_USE_LIBCXX "" ON)
endif()
option(BENCHMARK_ENABLE_TESTING "" OFF)
set(HAVE_STD_REGEX 0)
set(HAVE_POSIX_REGEX 0)
Expand Down

0 comments on commit 8a98287

Please sign in to comment.