This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
09be6c5480
CMake
/
Modules
/
Platform
/
Darwin-GNU-CXX.cmake
4 lines
84 B
CMake
Raw
Normal View
History
Unescape
Escape
Fix check for -isysroot on OS X Previously we checked for this flag by parsing the version number of GCC out of 'gcc --version', but this is not reliable because the format can vary greatly. Now we run 'gcc -v --help' and look for '-isysroot' in the list of options. We also now store the result on a per-language basis in the per-compiler info file "CMake<LANG>Compiler.cmake". This is necessary to make it accessible from try-compile projects so that they generate correctly.
2009-09-19 18:14:31 +04:00
include
(
Platform/Darwin-GNU
)
CMake 2.8.1-rc1
2010-01-29 00:48:20 +03:00
__darwin_compiler_gnu
(
CXX
)
Fix check for -isysroot on OS X Previously we checked for this flag by parsing the version number of GCC out of 'gcc --version', but this is not reliable because the format can vary greatly. Now we run 'gcc -v --help' and look for '-isysroot' in the list of options. We also now store the result on a per-language basis in the per-compiler info file "CMake<LANG>Compiler.cmake". This is necessary to make it accessible from try-compile projects so that they generate correctly.
2009-09-19 18:14:31 +04:00
cmake_gnu_has_isysroot
(
CXX
)