I'm unable to find an iOS framework on OS X using find_library, but it works
well if I create a symbolic link to the same target from the standard
framework location: ${CMAKE_OSX_SYSROOT}/System/Library/Frameworks.  I'd
like to avoid a symlink in my system folders in order to get this working. 
Given the following symbolic link and iOS framework target on OS X:

The following 4 lines in my CMakeLists.txt file (ADD_LOCAL_FRAMEWORK shown
at bottom):

lead to the following failure and success messages.  Is there a workaround
for this, or does the CMake find_library command only work with the standard
system path?  How would I fix (or debug) this?

The find_library macro is as follows:


Note: I removed an earlier post from last week after isolating the problem
to this scenario, since most of the details from that post are now
irrelevant.




--
View this message in context: 
http://cmake.3232098.n2.nabble.com/find-library-fails-with-local-target-but-finds-symbolic-link-to-the-same-framework-from-CMAKE-OSX-SYs-tp7586731.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to