diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-06-04 00:01:18 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2025-04-13 18:12:45 +0200 |
commit | fb8a89162e0db187a6c41e2ef75034f23cdc9677 (patch) | |
tree | fceca0c569ac70962c10242d5f26f30962c94407 /dep | |
parent | 4bc23a0753889bb5ba18d20b3858d3de1ce3c7bc (diff) |
Build: Moved CheckSymbolExists include to correct file
(cherry picked from commit 18fd59d965694b5cd0f62c011875a5d8beaac7e2)
Diffstat (limited to 'dep')
-rw-r--r-- | dep/fmt/CMakeLists.txt | 2 | ||||
-rw-r--r-- | dep/jemalloc/CMakeLists.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dep/fmt/CMakeLists.txt b/dep/fmt/CMakeLists.txt index 176d23058b5..fc9b1f79134 100644 --- a/dep/fmt/CMakeLists.txt +++ b/dep/fmt/CMakeLists.txt @@ -8,8 +8,6 @@ # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -include(CheckSymbolExists) - set(FMT_HEADERS include/fmt/args.h include/fmt/chrono.h diff --git a/dep/jemalloc/CMakeLists.txt b/dep/jemalloc/CMakeLists.txt index fb68395a40b..42bc5fd51e4 100644 --- a/dep/jemalloc/CMakeLists.txt +++ b/dep/jemalloc/CMakeLists.txt @@ -8,9 +8,11 @@ # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +include(CheckSymbolExists) + if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT NOJEM) # We need to generate the jemalloc_def.h header based on platform-specific settings - CHECK_SYMBOL_EXISTS(MADV_FREE "sys/mman.h" HAVE_MADV_FREE) + check_symbol_exists(MADV_FREE "sys/mman.h" HAVE_MADV_FREE) if (PLATFORM EQUAL 32) set(JEM_SIZEDEF 2) |