Skip to content
Permalink
Browse files
cmake: only search for libraries that are needed
in particular, don't search for libjemalloc.a, which is only
needed for tokudb's ftcxx tests, when the tests aren't going
to be built.
  • Loading branch information
vuvova committed Apr 2, 2019
1 parent 7b527e6 commit 409f69c
Showing 1 changed file with 2 additions and 2 deletions.
@@ -2,9 +2,9 @@ include_directories(..)
include_directories(../../src)
include_directories(../../src/tests)

find_library(JEMALLOC_STATIC_LIBRARY libjemalloc.a)

if (BUILD_TESTING)
find_library(JEMALLOC_STATIC_LIBRARY libjemalloc.a)

## reference implementation with simple size-doubling buffer without
## jemalloc size tricks
add_library(doubling_buffer_ftcxx STATIC

0 comments on commit 409f69c

Please sign in to comment.