Am Donnerstag, 14. Juli 2016 um 16:06:17, schrieb Brad King <brad.k...@kitware.com> > On 07/14/2016 03:59 PM, Kornel Benko wrote: > >> What you can do is not add your own flag and instead do > >> > >> set(CMAKE_CXX_STANDARD 14) > >> set(CMAKE_CXX_EXTENSIONS OFF) > > > > I did this, as it seemed least invasive. > > But now, instead of '-std=gnu++1' I got '-std=c++11' which is not better. > > Of course, since QT5.7 explicitly requires C++11 features, we don't need > > C++14. > > I don't quite follow here. What flag to you want to get?
I meant we don't need to test for c++14. > Don't add your own flag explicitly. Some combination of > the above settings can get the flag you need. I have to stick also with older cmake versions, so bear with me. Nonetheless, I tested some combinations already, and it all looks good. > -Brad Kornel
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers