[cmake-developers] [CMake 0014671]: install TARGETS with BUNDLE does not work for target that have the BUNDLE property set

Mantis Bug Tracker mantis at public.kitware.com
Thu Dec 26 04:22:52 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14671 
====================================================================== 
Reported By:                Sascha Kratky
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14671
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-12-26 04:22 EST
Last Modified:              2013-12-26 04:22 EST
====================================================================== 
Summary:                    install TARGETS with BUNDLE does not work for target
that have the BUNDLE property set
Description: 
install TARGETS with BUNDLE destination only works on executable targets that
have the MACOSX_BUNDLE property set. It should also work for other target types
that have the BUNDLE property set.

Steps to Reproduce: 
Add the following command the CFBundleTest project that ships with CMake after
the following lines:

set_target_properties(CFBundleTest PROPERTIES
    BUNDLE 1
    BUNDLE_EXTENSION plugin 
    ...)

install(TARGETS CFBundleTest BUNDLE DESTINATION "~/Library/Internet Plug-Ins")

This results in the error:

CMake Error at CMakeLists.txt:58 (install):
  install TARGETS given no LIBRARY DESTINATION for module target
  "CFBundleTest".


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-12-26 04:22 Sascha Kratky  New Issue                                    
======================================================================




More information about the cmake-developers mailing list