This is a complete stab in the dark, but I wonder if your clang (Xcode tools…) needs reactivation. I know some people have reported that they’ve needed to re-accept the license and/or reinstall the Xcode tools following the upgrade. Again, this is just a wild guess.
> On Oct 19, 2016, at 2:44 AM, James Turner <james.tur...@kdab.com> wrote: > > Some recent configuration change (either upgrading to Sierra or CMake 3.5.0) > has prompted the following warning when running Cmake on a particular project: > > ================ > CMake Error in xxxxxxxxxxxx/CMakeLists.txt: > No known features for CXX compiler > > "Clang" > > version 3.5.0. > ============== > > This project uses a mixture of Fortran and C++ - the Fortran compiler is > GFortran, and the C++ compiler is a custom clang with OpenMP support, > supplied by Homebrew (as is CMake). I assume the error is somehow related to > using a non-Apple Clang, but prior to upgrading either Xcode/the OS to > Sierra/to Cmake 3.5, the message did not appear. (When I say ‘custom’, it’s > simply that Apple choose to disable OpenMP in their official builds shipped > with Xcode, the compiler I’m using is the stock mainline clang with OpenMP > support re-enabled) > > The message is repeated for each CMakeList.txt in the project, and of course > I’ve googled it, but can only find references to unsupported compilers, when > this system was introduced. Is there an issue with my CmakeLists.txt files, > or some missing configuration file in Cmake, or something else again > happening? > > Running ‘-v’ on the OpenMP clang from Homebrew reports: > > ================= > clang-omp -v > clang version 3.5.0 > Target: x86_64-apple-darwin16.0.0 > Thread model: posix > =============== > > I run Cmake with a command like: (in my build dir) > > CC=/usr/local/bin/clang-omp CXX=/usr/local/bin/clang-omp++ cmake > ../my-project/ > > Any hints appreciated! > > Kind regards, > James > > -- > James Turner - Senior Software Developer > KDAB - The Qt, C++ and OpenGL Experts > > > > > -- > > 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 -- 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