Merge branch 'nhudinh2103-fix-memory-leak-linux'

This commit is contained in:
matlabbe 2018-07-30 14:42:47 -04:00
commit 98e605e3d1

View File

@ -154,3 +154,6 @@ IF((APPLE AND BUILD_AS_BUNDLE) OR WIN32)
" COMPONENT runtime) " COMPONENT runtime)
ENDIF((APPLE AND BUILD_AS_BUNDLE) OR WIN32) ENDIF((APPLE AND BUILD_AS_BUNDLE) OR WIN32)
if(UNIX AND NOT APPLE)
set (CMAKE_CXX_FLAGS "-ltcmalloc")
ENDIF()