summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorFrancesco Borzì <borzifrancesco@gmail.com>2020-08-21 12:19:02 +0200
committerGitHub <noreply@github.com>2020-08-21 12:19:02 +0200
commit2ad98c573a2b75991269030327e8d26bf3eb7bd3 (patch)
treef1446bbc1a46b95f4da27461353bce21628942c5 /CMakeLists.txt
parented8ed175b7285089bc9c503bd515a4609af5c388 (diff)
feat(CI): add macOS to our CI (#3321)
Co-Authored-By: Meerd <meerd@users.noreply.github.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9c5696ff81..7473c64661 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -98,6 +98,9 @@ set(ACE_EXPECTED_VERSION 6.0.3)
find_package(PCHSupport)
find_package(ACE REQUIRED)
+if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
+ add_definitions(-DACE_LACKS_AUTO_PTR=1)
+endif()
find_package(MySQL REQUIRED)
if(UNIX AND WITH_PERFTOOLS)