From 6ccbce9afcf8f9020a44cb9ba5435aa6ccd02265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Mon, 27 Jan 2025 21:11:57 +0300 Subject: [PATCH] =?UTF-8?q?mdbx-cmake:=20=D0=B8=D0=B7=D0=B1=D0=B5=D0=B3?= =?UTF-8?q?=D0=B0=D0=B5=D0=BC=20=D0=B4=D0=B2=D0=BE=D0=B9=D0=BD=D0=BE=D0=B9?= =?UTF-8?q?=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=8B=20`compiler.cmake`=20?= =?UTF-8?q?=D0=B1=D0=B5=D0=B7=20=D0=BD=D0=B5=D0=BE=D0=B1=D1=85=D0=BE=D0=B4?= =?UTF-8?q?=D0=B8=D0=BC=D0=BE=D1=81=D1=82=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index f8a72d68..d4dfc086 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,8 +1,10 @@ # Copyright (c) 2020-2025 Леонид Юрьев aka Leonid Yuriev ############################################### # SPDX-License-Identifier: Apache-2.0 -enable_language(CXX) -include(../cmake/compiler.cmake) +if(NOT CMAKE_CXX_COMPILER_LOADED) + enable_language(CXX) + include(../cmake/compiler.cmake) +endif() function(add_extra_test name) set(options DISABLED)