CMAKE_CXX_STANDARD

Larry Gritz <[email protected]> Fri, 13 Jul 2018 11:47:02 -0700
Newsgroups gmane.comp.video.openexr.devel
Message-ID <[email protected]>
Is anybody troubled by the fact that the OpenEXR CMakeLists.txt starts with

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

but then makes use of CMAKE_CXX_STANDARD, which was only introduced with CMake 3.1?

So I think that if anybody actually uses CMake < 3.1, it will just silently fail to provide the right -std=c++XX flags.


--
Larry Gritz
[email protected]