From 83ecb0729600cf4eed2fdcdaefd18870317410f9 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 16 Aug 2022 18:15:59 +0100 Subject: [PATCH] sclog: add a 'project' line in CMakeLists.txt. This causes cmake to stop whinging that there isn't one. More usefully, by specifying the LANGUAGES keyword as just C (rather than the default of both C and CXX), the cmake configure step is sped up by not having to faff about finding a C++ compiler. --- test/sclog/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/sclog/CMakeLists.txt b/test/sclog/CMakeLists.txt index 6ac0ddfa..8a8ac570 100644 --- a/test/sclog/CMakeLists.txt +++ b/test/sclog/CMakeLists.txt @@ -4,6 +4,8 @@ cmake_minimum_required(VERSION 3.5) +project(sclog LANGUAGES C) + find_package(DynamoRIO) if (NOT DynamoRIO_FOUND) message(FATAL_ERROR "DynamoRIO not found")