mirror of
https://github.com/apple/foundationdb.git
synced 2026-01-25 04:18:18 +00:00
Fix cmake USE_GPERFTOOLS compiling error
Otherwise, I got weird errors like pthread library is not found when checking compilers.
This commit is contained in:
@@ -52,7 +52,6 @@ mark_as_advanced(
|
||||
|
||||
if (GPERFTOOLS_FOUND)
|
||||
add_library(gperftools UNKNOWN IMPORTED)
|
||||
target_compile_definitions(gperftools PUBLIC USE_GPERFTOOLS)
|
||||
set_target_properties(gperftools PROPERTIES
|
||||
IMPORTED_LOCATION ${GPERFTOOLS_TCMALLOC_AND_PROFILER}
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${GPERFTOOLS_INCLUDE_DIR}")
|
||||
|
||||
Reference in New Issue
Block a user