[cmake-developers] [CMake 0015237]: No CMAKE_C_COMPILER could be found (3.1.0-rc1 regression)
Mantis Bug Tracker
mantis at public.kitware.com
Fri Nov 7 15:20:59 EST 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15237
======================================================================
Reported By: Ruslan Baratov
Assigned To:
======================================================================
Project: CMake
Issue ID: 15237
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-11-07 15:20 EST
Last Modified: 2014-11-07 15:20 EST
======================================================================
Summary: No CMAKE_C_COMPILER could be found (3.1.0-rc1
regression)
Description:
Error while configuring project with Xcode 5.0.2 and CMake 3.1.0-rc1:
-- The C compiler identification is AppleClang 5.0.0.5000279
-- The CXX compiler identification is AppleClang 5.0.0.5000279
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.
Steps to Reproduce:
Create toolchain.cmake file:
set(CMAKE_OSX_SYSROOT "iphoneos" CACHE STRING "" FORCE)
set(CMAKE_XCODE_EFFECTIVE_PLATFORMS "-iphoneos;-iphonesimulator")
set(MACOSX_BUNDLE_GUI_IDENTIFIER com.example)
set(CMAKE_MACOSX_BUNDLE YES)
set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "iPhone Developer")
Create CMakeLists.txt:
cmake_minimum_required(VERSION 3.0)
project(Foo)
Run build:
cmake -H. -B_builds -GXcode -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake
Additional Information:
Works fine with CMake 3.0.2
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-11-07 15:20 Ruslan Baratov New Issue
======================================================================
More information about the cmake-developers
mailing list