The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=15938 
====================================================================== 
Reported By:                Florian Rathgeber
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15938
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-01-28 09:30 GMT
Last Modified:              2016-01-28 09:30 GMT
====================================================================== 
Summary:                    RPATHs missing on link line for versioned libraries
(.so.MAJOR.MINOR.PATCH)
Description: 
When linking against a library using the *full path* to a *versioned* .so file,
the RPATH (-Wl,-rpath,/full/path or equivalent) is missing from the link line.
It *does* work when using the non-versioned library ending in .so

Steps to Reproduce: 
Build CGAL 4.7, which exports libCGAL.so.11.0.1 as CGAL_LIBRARY in its
CGALExports.cmake

Use in your CMake project similar to the following:

...

find_package( CGAL REQUIRED )

...

target_link_libraries( my_exe ${CGAL_LIBRARY} )

Additional Information: 
Looks like a "parser error" to me, potentially regex too narrow?
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-01-28 09:30 Florian RathgeberNew 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/mailman/listinfo/cmake-developers

Reply via email to