check_c_source_compiles test always fails
Open
auto-migrated
Priority-Medium
Type-Defect
- Dominant language
- CMake
- Stars
- 2
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
```
I have a library that uses a lot of check_c_source_compiles,
check_function_exists, check_symbol_exists, etc. checks.
These checks are based on try_compile function which just tries to compile an
executable from a single source file.
When ios toolchain is active compiler is unable to make "ordinary" executables:
> Check dependencies
> target specifies product type 'com.apple.product-type.tool', but there's no
such product type for the 'iphoneos' platform
```
Original issue reported on code.google.com by `Equidamoid` on 17 Nov 2013 at 8:30
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.