We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0b5466 commit e968842Copy full SHA for e968842
1 file changed
test/CMakeLists.txt
@@ -27,6 +27,14 @@ if (NOT MSVC)
27
endif(CODE_COVERAGE)
28
endif(NOT MSVC)
29
30
+option(TCMALLOC "Enable TCMalloc Optimization" OFF)
31
+if(TCMALLOC)
32
+ link_libraries(
33
+ "-ltcmalloc"
34
+ )
35
+ message( "TCMalloc Enabled" )
36
+endif(TCMALLOC)
37
+
38
option(TEST "Enable Test" OFF)
39
if(TEST)
40
include(${CPM_DOWNLOAD_LOCATION})
0 commit comments