diff --git a/CMakeLists.txt b/CMakeLists.txt index b64b9a5..20139b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,6 @@ cmake_minimum_required(VERSION 3.20) +set(CMAKE_CXX_STANDARD 20) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) project(luau_debugger) diff --git a/cmake/toolchains/windows-clang.cmake b/cmake/toolchains/windows-clang.cmake index 30545d4..2b3ccc5 100644 --- a/cmake/toolchains/windows-clang.cmake +++ b/cmake/toolchains/windows-clang.cmake @@ -1,6 +1,4 @@ set(LLVM_ROOT ${CMAKE_SOURCE_DIR}/../../LLVM) set(CMAKE_CXX_COMPILER ${LLVM_ROOT}/bin/clang++.exe) set(CMAKE_C_COMPILER ${LLVM_ROOT}/bin/clang.exe) -set(CMAKE_CXX_STANDARD 20) -set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_RC_COMPILER ${LLVM_ROOT}/bin/llvm-rc.exe) \ No newline at end of file