Commits

Shlomi Fish committed 4d5963d

Convert to use hoard.

git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/branches/hoard-malloc-crash@2897 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a

Comments (0)

Files changed (1)

fc-solve/source/CMakeLists.txt

 
 SET(LIBTCMALLOC_LIB_LIST)
 
-IF (NOT CMAKE_BUILD_TYPE STREQUAL debug)
+# IF (NOT CMAKE_BUILD_TYPE STREQUAL debug)
 
     # Optionally link against Google's TCMalloc if it's available:
     # http://goog-perftools.sourceforge.net/
     # This gives better performance for the threaded programs.
-    FIND_LIBRARY(LIBTCMALLOC_LIB tcmalloc)
+    FIND_LIBRARY(LIBTCMALLOC_LIB hoard)
 
     IF(LIBTCMALLOC_LIB STREQUAL "LIBTCMALLOC_LIB-NOTFOUND")
         # Do nothing.
         SET(LIBTCMALLOC_LIB_LIST ${LIBTCMALLOC_LIB})
     ENDIF(LIBTCMALLOC_LIB STREQUAL "LIBTCMALLOC_LIB-NOTFOUND")
     
-ENDIF (NOT CMAKE_BUILD_TYPE STREQUAL debug)
+# ENDIF (NOT CMAKE_BUILD_TYPE STREQUAL debug)
 
 
 TARGET_LINK_LIBRARIES (freecell-solver