summaryrefslogtreecommitdiff
path: root/devel/pika/files/patch-CMakeLists.txt
blob: e09a104362291b47fe3b02ab96641bd821c0d98c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- CMakeLists.txt.orig	2022-07-05 13:27:56 UTC
+++ CMakeLists.txt
@@ -154,7 +154,7 @@ endif()
 
 # Generic build options
 set(DEFAULT_MALLOC "system")
-if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
+if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
   set(DEFAULT_MALLOC "tcmalloc")
 endif()