mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
- An ACE build fix. Allows for building on FreeBSD 10 with the clang stack
This commit is contained in:
parent
f1280d6484
commit
114763c067
1 changed files with 6 additions and 0 deletions
|
|
@ -55,6 +55,12 @@ if(WIN32 AND MSVC)
|
|||
ALWAYS 0
|
||||
)
|
||||
elseif(UNIX)
|
||||
if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||
# ACE Won't build on FreeBSD 10 with the exceptions test enabled so we're just turning that test off
|
||||
set(DISABLE_EXCEPTIONS "--enable-exceptions=no")
|
||||
else()
|
||||
set(DISABLE_EXCEPTIONS "")
|
||||
endif()
|
||||
ExternalProject_Add(ACE_Project
|
||||
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue