ClickHouse/contrib/jemalloc-cmake
Azat Khuzhin 35335f07db Fix INTERFACE_COMPILE_DEFINITIONS for IMPORTED targets
INTERFACE_COMPILE_DEFINITIONS does not work IMPORTED targets:

From 3.6:

    Specify compile definitions to use when compiling a given <target>.
    The named <target> must have been created by a command such as
    add_executable() or add_library() and must not be an Imported Target.

Since 3.11:

    Specify compile definitions to use when compiling a given <target>.
    The named <target> must have been created by a command such as
    add_executable() or add_library() and must not be an ALIAS target.

And this causes the -Wundef warning:
    src/Functions/FunctionsHashing.h:1326:5: warning: 'USE_XXHASH' is not defined, evaluates to 0 [-Wundef]
2020-10-11 09:06:01 +03:00
..
include/jemalloc jemalloc: fix JEMALLOC_NOTHROW/JEMALLOC_CXX_THROW for freebsd/darwin 2020-06-23 01:47:56 +03:00
include_darwin_aarch64/jemalloc/internal jemalloc: add darwin pregenerated header 2020-06-23 01:47:56 +03:00
include_darwin_x86_64/jemalloc/internal jemalloc: add darwin pregenerated header 2020-06-23 01:47:56 +03:00
include_freebsd_aarch64/jemalloc/internal jemalloc: explicitly disable pthread_setname_np on freebsd (requires 12.1) 2020-06-23 05:45:56 +03:00
include_freebsd_x86_64/jemalloc/internal jemalloc: explicitly disable pthread_setname_np on freebsd (requires 12.1) 2020-06-23 05:45:56 +03:00
include_linux_aarch64 jemalloc: jemalloc_preamble.h is common 2020-06-23 01:47:56 +03:00
include_linux_x86_64 jemalloc: jemalloc_preamble.h is common 2020-06-23 01:47:56 +03:00
CMakeLists.txt Fix INTERFACE_COMPILE_DEFINITIONS for IMPORTED targets 2020-10-11 09:06:01 +03:00
README Using jemalloc instead of tcmalloc. (#2773) 2018-08-02 03:20:20 +03:00

It allows to integrate JEMalloc into CMake project.