[cmake-developers] FindCXX11.cmake

Ben Boeckel ben.boeckel at kitware.com
Mon Apr 9 15:57:16 EDT 2012


On Mon, Apr 09, 2012 at 23:44:23 +0400, Yury G.  Kudryashov wrote:
> # check for two required features
> check_cxx11_features(feature1 feature2 REQUIRED)

Why not have REQUIRED first? It would make more sense with the next
syntax.

> # check for optional AND required features
> check_cxx11_features(
> 	REQUIRED required1 required2
> 	OPTIONAL optional1 optional2)

--Ben



More information about the cmake-developers mailing list