MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015861 | CMake | CMake | public | 2015-11-25 01:04 | 2016-05-02 08:30 |
Reporter | Ruslan Baratov | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | OS X 10.11 | ||
Product Version | CMake 3.4 | ||||
Target Version | CMake 3.4.1 | Fixed in Version | CMake 3.4.1 | ||
Summary | 0015861: Configuration with -flto flag failed: CMAKE_CXX_STANDARD_COMPUTED_DEFAULT should be set for AppleClang [3.4 regression] | ||||
Description | Not able to configure project with CMAKE_CXX_FLAGS=-flto and CMAKE_CXX_COMPILER=clang++. Works fine for CMake 3.3. | ||||
Steps To Reproduce | Example: > cat CMakeLists.txt cmake_minimum_required(VERSION 3.0) project(Foo) > cmake --version cmake version 3.4.0 > /usr/bin/clang++ --version Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) Target: x86_64-apple-darwin15.0.0 Thread model: posix > cmake -H. -B_builds -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_CXX_FLAGS=-flto ... CMake Error at .../share/cmake-3.4/Modules/Compiler/AppleClang-CXX.cmake:28 (message): CMAKE_CXX_STANDARD_COMPUTED_DEFAULT should be set for AppleClang (/usr/bin/clang++) version 6.1.0.6020053 | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-11-25 01:04 | Ruslan Baratov | New Issue | |||
2015-11-30 09:30 | Brad King | Note Added: 0039917 | |||
2015-11-30 09:30 | Brad King | Assigned To | => Brad King | ||
2015-11-30 09:30 | Brad King | Status | new => resolved | ||
2015-11-30 09:30 | Brad King | Resolution | open => fixed | ||
2015-11-30 09:30 | Brad King | Fixed in Version | => CMake 3.4.1 | ||
2015-11-30 09:30 | Brad King | Target Version | => CMake 3.4.1 | ||
2015-11-30 13:15 | Brad King | Note Added: 0039924 | |||
2015-12-01 03:37 | Ruslan Baratov | Note Added: 0039925 | |||
2016-05-02 08:30 | Robert Maynard | Note Added: 0040973 | |||
2016-05-02 08:30 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|