Skip to content

Commit 1d7d10f

Browse files
authored
Disable libc++ and GoogleTest in CMakeLists
Updated CMake configuration to disable libc++ and GoogleTest options.
1 parent 1357b9d commit 1d7d10f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ if(TLSF_BUILD_BENCHMARK)
7575
FetchContent_MakeAvailable(google-benchmark)
7676

7777
set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "Disable testing of the benchmark library." FORCE)
78-
set(BENCHMARK_USE_LIBCXX OFF CACHE BOOL "Build and test using libc++ as the standard library." FORCE)
79-
78+
set(BENCHMARK_USE_LIBCXX OFF CACHE BOOL "Disable Build and test using libc++ as the standard library." FORCE)
79+
set(BENCHMARK_ENABLE_GTEST_TESTS OFF CACHE BOOL "Disable building the unit tests which depend on gtest" FORCE)
80+
set(BENCHMARK_USE_BUNDLED_GTEST OFF CACHE BOOL "Disable bundled GoogleTest. If disabled, the find_package(GTest) will be used." FORCE)
8081

8182

8283

0 commit comments

Comments
 (0)