diff options
-rw-r--r-- | lldb/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/CMakeLists.txt b/lldb/CMakeLists.txt index 9ae6722295ac..4a53d7ef3d0d 100644 --- a/lldb/CMakeLists.txt +++ b/lldb/CMakeLists.txt @@ -27,11 +27,11 @@ include(GNUInstallDirs) option(LLDB_INCLUDE_TESTS "Generate build targets for the LLDB unit tests." ${LLVM_INCLUDE_TESTS}) if(LLDB_BUILT_STANDALONE) - include(LLDBStandalone) - set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard to conform to") set(CMAKE_CXX_STANDARD_REQUIRED YES) set(CMAKE_CXX_EXTENSIONS NO) + + include(LLDBStandalone) endif() include(LLDBConfig) |