Skip to content

Commit

Permalink
Restore tcmalloc check
Browse files Browse the repository at this point in the history
  • Loading branch information
lazio579 committed Apr 18, 2019
1 parent def86e2 commit a3aa291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ EXECUTE_PROCESS(COMMAND git describe --tags
MESSAGE(STATUS "building from ${GIT_REVISION}")
SET(CPACK_PACKAGE_VERSION_MAJOR "2")
SET(CPACK_PACKAGE_VERSION_MINOR "2")
SET(CPACK_PACKAGE_VERSION_PATCH "4")
SET(CPACK_PACKAGE_VERSION_PATCH "5")
SET(CPACK_PACKAGE_VENDOR "MySQL")
SET(PACKAGE_NAME cetus)

Expand Down Expand Up @@ -178,7 +178,7 @@ CHECK_FUNCTION_EXISTS(getaddrinfo HAVE_GETADDRINFO)
# check for gthread actually being present
CHECK_LIBRARY_EXISTS(gthread-2.0 g_thread_init "${GTHREAD_LIBRARY_DIRS}" HAVE_GTHREAD)

#CHECK_LIBRARY_EXISTS(tcmalloc malloc "" HAVE_TCMALLOC)
CHECK_LIBRARY_EXISTS(tcmalloc malloc "" HAVE_TCMALLOC)

#SET(OLD_CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES})
#SET(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${GTHREAD_LIBRARIES})
Expand Down

0 comments on commit a3aa291

Please sign in to comment.