mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 21:57:01 +01:00
* Added an option to autosearch for your own installed MySQL as before. Note that default setting is to use the internal MySQL. * You can now build 32-bit even if your MySQL is x64 and vice versa. * Recommended MySQL server version for use with provided MySQL client sources is 5.1.x. * If your server version is different, let CMake autofind and use it instead (check EXTERNAL_MYSQL option) --HG-- branch : trunk
32 lines
922 B
CMake
32 lines
922 B
CMake
# Copyright (C) 2008-2010 Trinity <http://www.trinitycore.org/>
|
|
#
|
|
# This file is free software; as a special exception the author gives
|
|
# unlimited permission to copy and/or distribute it, with or without
|
|
# modifications, as long as this notice is preserved.
|
|
#
|
|
# This program is distributed in the hope that it will be useful, but
|
|
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|
add_subdirectory(jemalloc)
|
|
set(JEMALLOC_LIB "jemalloc")
|
|
endif()
|
|
|
|
if(CMAKE_SYSTEM_NAME MATCHES "Windows")
|
|
add_subdirectory(acelite)
|
|
add_subdirectory(zlib)
|
|
add_subdirectory(bzip2)
|
|
if(NOT EXTERNAL_MYSQL)
|
|
add_subdirectory(mysqllite)
|
|
endif(NOT EXTERNAL_MYSQL)
|
|
endif()
|
|
|
|
add_subdirectory(g3dlite)
|
|
add_subdirectory(sockets)
|
|
add_subdirectory(gsoap)
|
|
|
|
if(TOOLS)
|
|
add_subdirectory(libmpq)
|
|
endif()
|