The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14908 
====================================================================== 
Reported By:                James Bigler
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14908
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-05-06 16:33 EDT
Last Modified:              2014-05-06 16:33 EDT
====================================================================== 
Summary:                    CMAKE_OSX_SYSROOT being ignored with frameworks in
/Library/Frameworks
Description: 
I have CMAKE_OSX_SYSROOT defined as something:

set(CMAKE_OSX_SYSROOT
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk"
CACHE LIST "OSX sysroot SDK directory" FORCE)

Then later I do a find_library command and it finds a library framework in
/Library/Frameworks/mylib.framework

The cache entry for mylib has the full path to the library, but later during
linking it removes the full path and instead uses the name directly:

-framework mylib

Unfortunately, because the -isysroot command is invoked the linker no longer
looks in the standard locations.  I have to use -F /Library/Frameworks
-framework mylib.  I can't even use -framework
/Library/Frameworks/mylib.framework
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-05-06 16:33 James Bigler   New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to