Skip to content

Commit e56ba37

Browse files
committed
build: make standalone builds work again
Apple's greendragon bot uses a standalone build of lldb which would fail to build after a recent change to LLVM as it relied on LLVM setting global flags for its build. Attempt to repair the standalone build for greendragon bot.
1 parent 55eec2b commit e56ba37

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ set(CMAKE_MODULE_PATH
1616
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
1717
project(lldb)
1818
include(LLDBStandalone)
19+
20+
set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to conform to")
21+
set(CMAKE_CXX_STANDARD_REQUIRED YES)
22+
set(CMAKE_CXX_EXTENSIONS NO)
1923
endif()
2024

2125
include(LLDBConfig)

0 commit comments

Comments
 (0)