mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Set CMake to compile jemalloc only on linux, and also set ace/bzip2/zlib to only be compiled on "true" Windows-platforms
--HG-- branch : trunk
This commit is contained in:
4
externals/CMakeLists.txt
vendored
4
externals/CMakeLists.txt
vendored
@@ -8,11 +8,11 @@
|
||||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
if(NOT MACOSX)
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
add_subdirectory(jemalloc)
|
||||
endif()
|
||||
|
||||
if(NOT UNIX)
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "Windows")
|
||||
add_subdirectory(ace)
|
||||
add_subdirectory(zlib)
|
||||
add_subdirectory(bzip2)
|
||||
|
||||
Reference in New Issue
Block a user