diff options
Diffstat (limited to 'lldb/tools/debugserver/source/CMakeLists.txt')
| -rw-r--r-- | lldb/tools/debugserver/source/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lldb/tools/debugserver/source/CMakeLists.txt b/lldb/tools/debugserver/source/CMakeLists.txt index 0c60c2f14fc..709e49ddc3d 100644 --- a/lldb/tools/debugserver/source/CMakeLists.txt +++ b/lldb/tools/debugserver/source/CMakeLists.txt @@ -34,9 +34,11 @@ if (CXX_SUPPORTS_NO_EXTENDED_OFFSETOF) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-extended-offsetof") endif () -add_definitions( - -DDEBUGSERVER_VERSION_STR="${LLDB_VERSION}" - ) +if (NOT CMAKE_SYSTEM_NAME MATCHES "Darwin") + add_definitions( + -DDEBUGSERVER_VERSION_STR="${LLDB_VERSION}" + ) +endif () add_library(lldbDebugserverCommon #${dnbconfig_header} |

