Merge branch 'nhudinh2103-fix-memory-leak-linux'
This commit is contained in:
@@ -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()
|
||||||
Reference in New Issue
Block a user