SwagSoftware/Kisak-Strike
thirdparty/gperftools-2.8.1/CMakeLists.txt
:225
check_symbol_exists("posix_memalign" "stdlib.h;malloc.h" HAVE_DECL_POSIX_MEMALIGN)
check_symbol_exists("posix_memalign" "stdlib.h;malloc.h" HAVE_DECL_POSIX_MEMALIGN)
check_symbol_exists("posix_memalign" "stdlib.h;malloc.h" HAVE_DECL_POSIX_MEMALIGN)
check_symbol_exists("posix_memalign" "stdlib.h;malloc.h" HAVE_DECL_POSIX_MEMALIGN)
check_symbol_exists("posix_memalign" "stdlib.h;malloc.h" HAVE_DECL_POSIX_MEMALIGN)
check_symbol_exists("posix_memalign" "stdlib.h;malloc.h" HAVE_DECL_POSIX_MEMALIGN)
check_symbol_exists("posix_memalign" "stdlib.h;malloc.h" HAVE_DECL_POSIX_MEMALIGN)
target_compile_options(pedalboard_native PRIVATE
$<$<COMPILE_LANGUAGE:C>:
-DHAVE_UINTPTR_T
-DPACKAGE="FFTW"
-DVERSION="0"
-DPACKAGE_VERSION="00000"
-DFFTW_CC="clang"
"-includestring.h"
"-includestdint.h"
"-include${CMAKE_CURRENT_SOURCE_DIR}/vendors/fftw3/dft/codelet-dft.h"
"-include${CMAKE_CURRENT_SOURCE_DIR}/vendors/fftw3/rdft/codelet-rdft.h"
"-includesys/time.h"
-DHAVE_INTTYPES_H
-DHAVE_STDINT_H
-DHAVE_STDLIB_H
-DHAVE_STRING_H
-DHAVE_TIME_H
-DHAVE_SYS_TIME_H=1
-DHAVE_UNISTD_H
-DHAVE_DECL_DRAND48
-DHAVE_DECL_SRAND48
-DHAVE_DECL_COSL
-DHAVE_DECL_SINL
-DHAVE_DECL_POSIX_MEMALIGN
-DHAVE_DRAND48
-DHAVE_SRAND48
-DHAVE_POSIX_MEMALIGN
-DHAVE_ISNAN
-DHAVE_SNPRINTF
-DHAVE_STRCHR
-DHAVE_SYSCTL
-DHAVE_GETTIMEOFDAY>
)
check_prototype_definition (posix_memalign "int posix_memalign(void **memptr, size_t alignment, size_t size)" "0" stdlib.h HAVE_DECL_POSIX_MEMALIGN)
check_symbol_exists("posix_memalign" "stdlib.h;malloc.h" HAVE_DECL_POSIX_MEMALIGN)
check_symbol_exists("posix_memalign" "stdlib.h;malloc.h" HAVE_DECL_POSIX_MEMALIGN)
check_symbol_exists("posix_memalign" "stdlib.h;malloc.h" HAVE_DECL_POSIX_MEMALIGN)