summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authormakise-homura <akemi_homura@kurisa.ch>2024-01-15 03:13:04 (GMT)
committermakise-homura <akemi_homura@kurisa.ch>2024-01-16 19:12:06 (GMT)
commit83af26d9ad5ef9a1732f4573c06797ff8d74058a (patch)
tree5270c845724da528ef0d919be391dae4492894d1 /CMakeLists.txt
parentfa764ce311f450c61817d202095d6155c76f0251 (diff)
downloadCMake-83af26d9ad5ef9a1732f4573c06797ff8d74058a.zip
CMake-83af26d9ad5ef9a1732f4573c06797ff8d74058a.tar.gz
CMake-83af26d9ad5ef9a1732f4573c06797ff8d74058a.tar.bz2
LCC: Don't enable debugger on LCC that don't have <future>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a99cf50..dfbb38d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -140,6 +140,7 @@ if(NOT CMake_TEST_EXTERNAL_CMAKE)
if(CMAKE_SYSTEM_NAME MATCHES "Windows|Darwin|Linux|BSD|DragonFly|CYGWIN|MSYS"
AND NOT (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.16)
AND NOT (CMAKE_CXX_COMPILER_ID STREQUAL "XLClang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 16.1)
+ AND NOT (CMAKE_CXX_COMPILER_ID STREQUAL "LCC" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 1.23)
)
set(CMake_ENABLE_DEBUGGER 1)
else()