[cmake-developers] [CMake 0012263]: framework with SKIP_BUILD_RPATH gets wrong install_name
Mantis Bug Tracker
mantis at public.kitware.com
Fri Jun 10 00:29:22 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=12263
======================================================================
Reported By: Clinton Stimpson
Assigned To:
======================================================================
Project: CMake
Issue ID: 12263
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-06-10 00:29 EDT
Last Modified: 2011-06-10 00:29 EDT
======================================================================
Summary: framework with SKIP_BUILD_RPATH gets wrong
install_name
Description:
CMake/Tests/BundleUtilties/CMakeLists.cmake has this:
# a framework library
add_library(framework SHARED framework.cpp framework.h)
# TODO: fix problems with local frameworks without rpaths
#set_target_properties(framework PROPERTIES FRAMEWORK 1)
When compiling the framework library it has an install_name of "framework"
instead of "framework.framework/Versions/A/framework"
Additional Information:
If cmTarget::GetInstallNameDirForBuildTree is adjusted to return
"framework.framework/Versions/A/framework" instead of an empty string, that
fixes the problem if using makefiles.
Xcode still has a problem and it gets into the particulars about the xcode
project file that I'm not yet sure how to fix.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-06-10 00:29 Clinton StimpsonNew Issue
======================================================================
More information about the cmake-developers
mailing list