| 1578 | } |
| 1579 | |
| 1580 | bool cmGeneratorTarget::MacOSXRpathInstallNameDirDefault() const |
| 1581 | { |
| 1582 | // we can't do rpaths when unsupported |
| 1583 | if (!this->Makefile->IsSet("CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG")) { |
| 1584 | return false; |
| 1585 | } |
| 1586 | |
| 1587 | cmValue macosx_rpath_str = this->GetProperty("MACOSX_RPATH"); |
| 1588 | if (macosx_rpath_str) { |
| 1589 | return this->GetPropertyAsBool("MACOSX_RPATH"); |
| 1590 | } |
| 1591 | |
| 1592 | return true; |
| 1593 | } |
| 1594 | |
| 1595 | bool cmGeneratorTarget::MacOSXUseInstallNameDir() const |
| 1596 | { |
no test coverage detected