Specify LANGUAGES NONE to avoid enabling C and CXX (#120)

This commit is contained in:
Peter Dimov
2021-10-23 20:15:03 +03:00
committed by GitHub
parent 1be0e4a2d8
commit b48ed9ec62

View File

@ -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 )