Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Context not available. | |||||
73 | message(FATAL_ERROR "You are missing some Linux headers required to compile heaptrack.") | 73 | message(FATAL_ERROR "You are missing some Linux headers required to compile heaptrack.") | ||
---|---|---|---|---|---|
74 | endif() | 74 | endif() | ||
75 | 75 | | |||
76 | # cfree() does not exist in glibc 2.26+. | ||||
77 | # See: https://bugs.kde.org/show_bug.cgi?id=383889 | ||||
78 | include(CheckSymbolExists) | ||||
79 | check_symbol_exists(cfree malloc.h HAVE_CFREE) | ||||
80 | | ||||
76 | set(BIN_INSTALL_DIR "bin") | 81 | set(BIN_INSTALL_DIR "bin") | ||
77 | set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)") | 82 | set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)") | ||
78 | set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}") | 83 | set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}") | ||
Context not available. |