[CMake] 'No known features for CXX compiler' warning with custom Clang

James Turner james.turner at kdab.com
Fri Dec 16 17:41:33 EST 2016


> On 16 Dec 2016, at 15:30, Robert Maynard <robert.maynard at kitware.com> wrote:
> 
> <build_dir>/CMakeFiles/3.7.0/CMakeCXXCompiler.cmake
> 
> The important information being what CMAKE_CXX_COMPILER_ID and
> CMAKE_CXX_COMPILER_VERSION are set too.

Here’s what I have. I note the _FEATURES variables are all empty.

set(CMAKE_CXX_COMPILER "/usr/local/bin/clang-omp++")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "Clang")
set(CMAKE_CXX_COMPILER_VERSION "3.5.0")
set(CMAKE_CXX_COMPILER_WRAPPER "")
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "98")
set(CMAKE_CXX_COMPILE_FEATURES "")
set(CMAKE_CXX98_COMPILE_FEATURES "")
set(CMAKE_CXX11_COMPILE_FEATURES "")
set(CMAKE_CXX14_COMPILE_FEATURES "")

set(CMAKE_CXX_PLATFORM_ID "Darwin")
set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_SIMULATE_VERSION “")



Kind regards,
James

--
James Turner - Senior Software Developer
KDAB - The Qt, C++ and OpenGL Experts




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3868 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake/attachments/20161216/c8b1a684/attachment.bin>


More information about the CMake mailing list