From 29a1eb5bea950f18372fadebef898c6e8e4bcbe2 Mon Sep 17 00:00:00 2001 From: Martin Kinkelin Date: Fri, 13 Sep 2024 18:16:13 +0200 Subject: [PATCH] [tiny refactoring wrt. CXX language dependency for runtime build] --- runtime/CMakeLists.txt | 2 +- runtime/DRuntimeIntegrationTests.cmake | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 3b08893d34..2d2d7e8130 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.4.3) -project(runtime C ASM CXX) # CXX for integration tests only +project(runtime C ASM) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/runtime/DRuntimeIntegrationTests.cmake b/runtime/DRuntimeIntegrationTests.cmake index 45ff4e050b..fbb38e9840 100644 --- a/runtime/DRuntimeIntegrationTests.cmake +++ b/runtime/DRuntimeIntegrationTests.cmake @@ -1,3 +1,5 @@ +enable_language(CXX) # for CMAKE_CXX_COMPILER + # Try to find GNU make, use specific version first (BSD) and fall back to default 'make' (Linux) find_program(GNU_MAKE_BIN NAMES gmake gnumake make) if(NOT GNU_MAKE_BIN)