Permalink
Browse files

Fix to cmake scripts

  • Loading branch information...
1 parent 7623d66 commit b4a54e9205db4b7e75b367a79864898e2bd880da @joelpob joelpob committed with Blank Ubuntu 64 bit Jun 27, 2012
Showing with 2 additions and 10 deletions.
  1. +2 −10 CMake/HPHPFindLibs.cmake
View
12 CMake/HPHPFindLibs.cmake
@@ -160,16 +160,8 @@ if (USE_JEMALLOC AND NOT GOOGLE_TCMALLOC_ENABLED
AND NOT CMAKE_BUILD_TYPE STREQUAL Debug)
FIND_LIBRARY(JEMALLOC_LIB jemalloc)
if (JEMALLOC_LIB)
- CHECK_LIBRARY_EXISTS(jemalloc mallctl "" HAVE_JEMALLOC_FUN)
- if (HAVE_JEMALLOC_FUN)
- message(STATUS "Found jemalloc: ${JEMALLOC_LIB}")
- set(JEMALLOC_ENABLED 1)
- else()
- message(STATUS "Found jemalloc at ${JEMALLOC_LIB}, but unable to find its API "
- "(maybe the library was configured with a non-empty function prefix?)")
- endif()
- else()
- message(STATUS "Can't find jemalloc")
+ message(STATUS "Found jemalloc: ${JEMALLOC_LIB}")
+ set(JEMALLOC_ENABLED 1)
endif()
endif()

0 comments on commit b4a54e9

Please sign in to comment.