From 573360463fe1b1a409fb4fbab6872617f2bbd399 Mon Sep 17 00:00:00 2001 From: curatio Date: Thu, 24 Jun 2021 10:55:21 +0200 Subject: [PATCH] Fix Linux build issue External ACE is needed to compile mangosfour on linux. This fix based on https://github.com/mangosthree/server/pull/17 --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ca03d4a1..f9c66021b 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,11 @@ else() set(CONF_DIR "etc/" CACHE STRING "Path to the configs, can be absolute or relative.") endif() option(DEBUG "Debug mode (strict compile, all warnings)" OFF) -option(ACE_USE_EXTERNAL "Use external ACE" OFF) +if (WIN32) + option(ACE_USE_EXTERNAL "Use external ACE" OFF) +else() + option(ACE_USE_EXTERNAL "Use external ACE" ON) +endif() option(POSTGRESQL "Use PostgreSQL instead of MySQL" OFF) option(BUILD_MANGOSD "Build the main server" ON) option(BUILD_REALMD "Build the login server" ON)