From b48ed9ec623d4083b05a08cfdc5ab1c44ae2f0ec Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 23 Oct 2021 20:15:03 +0300 Subject: [PATCH] Specify LANGUAGES NONE to avoid enabling C and CXX (#120) --- 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 )