jemalloc.cmake 339 B

1234567891011121314151617
  1. # -*- cmake -*-
  2. if (JEMALLOC_CMAKE_INCLUDED)
  3. return()
  4. endif (JEMALLOC_CMAKE_INCLUDED)
  5. set (JEMALLOC_CMAKE_INCLUDED TRUE)
  6. include(00-BuildOptions)
  7. if (NOT USE_JEMALLOC)
  8. return()
  9. endif ()
  10. include(Prebuilt)
  11. use_prebuilt_binary(jemalloc)
  12. include_directories(SYSTEM ${LIBS_PREBUILT_DIR}/include/jemalloc)
  13. set(JEMALLOC_LIBRARY jemalloc)