[cmake-developers] [CMake 0015768]: install command does not install symbolic link for a versioned shared library

Mantis Bug Tracker mantis at public.kitware.com
Mon Oct 5 10:13:25 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=15768 
====================================================================== 
Reported By:                Francis ANDRE
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15768
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-10-05 10:13 EDT
Last Modified:              2015-10-05 10:13 EDT
====================================================================== 
Summary:                    install command does not install symbolic link for a
versioned shared library
Description: 
Hi

This command
install(
    TARGETS "${target_name}" EXPORT "${target_name}Targets"
    LIBRARY DESTINATION lib${LIB_SUFFIX}
    ARCHIVE DESTINATION lib${LIB_SUFFIX}
    RUNTIME DESTINATION bin
    INCLUDES DESTINATION include
    )

install the lib shared library with a symbolic link on Linux while it does not
install a symbolic link on the archive on Cygwin, neither he does install a
symbolic link on the runtime destination

Steps to Reproduce: 
1/ Build a shared library on Cygwin
2/ install it
3/ No symbolic link are defined for the archive library, nor for the shared
library.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-10-05 10:13 Francis ANDRE  New Issue                                    
======================================================================



More information about the cmake-developers mailing list