mangos/cmake/ImportACE.cmake
H0zen f49b02611e Improvements to the build system
- ACE is now build as static library
  - Removed useless directives from master CMakeLists
  - Added support for MariaDB
  - On Windows builds, the required DLLs are now properly copied to the installation folder
2018-03-28 20:37:19 +03:00

23 lines
980 B
CMake

# This code is part of MaNGOS. Contributor & Copyright details are in AUTHORS/THANKS.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
add_definitions(-DACE_AS_STATIC_LIBS)
set(ACE_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/dep/acelite)
set(ACE_LIBRARIES_DIR ${CMAKE_BINARY_DIR}/dep/acelite/ace)
link_directories(${ACE_LIBRARIES_DIR})