From 225f1a8dc910176e9e39b44b9d024272865186e7 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 18 Sep 2021 19:38:50 +0300 Subject: [PATCH] Specify LANGUAGES NONE to avoid enabling C and CXX --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dc69fe5..7e76edc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ cmake_minimum_required( VERSION 3.0 ) # Don't set VERSION, as that's a pita to keep up to date with the version # header. And don't set LANGUAGES as we are multi-language and header # only, so it's irrelevant. -project( BoostPredef ) +project( BoostPredef LANGUAGES NONE ) # Simple INTERFACE, and header only, library target. add_library( boost_predef INTERFACE )