mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
Build: Moved CheckSymbolExists include to correct file
(cherry picked from commit 18fd59d965)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user