View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014671CMakeCMakepublic2013-12-26 04:222016-06-10 14:31
ReporterSascha Kratky 
Assigned ToKitware Robot 
PlatformMacOSOS XOS Version10.9.1
Product VersionCMake 2.8.12 
Target VersionFixed in Version 
Summary0014671: install TARGETS with BUNDLE does not work for target that have the BUNDLE property set
Descriptioninstall 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 ReproduceAdd the following command the CFBundleTest project that ships with CMake after the following lines:

set_target_properties(CFBundleTest PROPERTIES
    BUNDLE 1

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

TagsNo tags attached.
Attached Files

related to 0011295closedDavid Cole Support for "CFBundle" (.plugin) types on Mac OS 

Brad King (manager)
2014-01-02 15:04

The CFBundleTest target is created with

 add_library( ... MODULE ...)

A MODULE library requires a LIBRARY DESTINATION to install: [^]

I'm not familiar with the CFBundle feature though.
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-12-26 04:22 Sascha Kratky New Issue
2014-01-02 15:04 Brad King Note Added: 0034897
2014-01-02 15:05 Brad King Relationship added related to 0011295
2016-06-10 14:29 Kitware Robot Note Added: 0042453
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed

Copyright © 2000 - 2018 MantisBT Team