MantisBT - CMake
View Issue Details
0014916CMakeCMakepublic2014-05-15 07:352014-11-03 08:38
Nikolay Zapolnov 
 
normalmajoralways
closedfixed 
AppleOSX10.9.2
CMake 2.8.12.2 
CMake 3.0 
0014916: Info.plist is stored in the wrong directory when creating bundles in subdirectories
When you are creating an OSX bundle in the subdirectory, it correctly generates bundle relative to CMAKE_CURRENT_BINARY_DIR, except for Info.plist. Info.plist is put relative to CMAKE_BINARY_DIR, not relative to CMAKE_CURRENT_BINARY_DIR.

This happens in the console build with make.
I have attached the test case to the issue.

Got:
build/test.bundle/Contents/Info.plist
build/subdir/test.bundle/Contents/MacOS/test

Expected:
build/subdir/test.bundle/Contents/Info.plist
build/subdir/test.bundle/Contents/MacOS/test
The problem did not reproduce in 2.8.11.2
No tags attached.
bz2 demo.tar.bz2 (350) 2014-05-15 07:35
https://public.kitware.com/Bug/file/5146/demo.tar.bz2
Issue History
2014-05-15 07:35Nikolay ZapolnovNew Issue
2014-05-15 07:35Nikolay ZapolnovFile Added: demo.tar.bz2
2014-05-15 08:39Nils GladitzNote Added: 0035884
2014-05-15 08:41Brad KingNote Added: 0035885
2014-05-15 08:41Brad KingStatusnew => resolved
2014-05-15 08:41Brad KingResolutionopen => fixed
2014-05-15 08:41Brad KingFixed in Version => CMake 3.0
2014-11-03 08:38Robert MaynardNote Added: 0037137
2014-11-03 08:38Robert MaynardStatusresolved => closed

Notes
(0035884)
Nils Gladitz   
2014-05-15 08:39   
I think this was fixed by http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=149ce5db5ed52855514e3ee3eef45295e667eed4;hp=e40fbbb0744e63401cba0958155c14fa838477cb [^]

Which is in CMake 3.0 rc5.
(0035885)
Brad King   
2014-05-15 08:41   
CMake 3.0.0-rc5 can be found here:

 http://www.cmake.org/files/v3.0/?C=M;O=D [^]
(0037137)
Robert Maynard   
2014-11-03 08:38   
Closing resolved issues that have not been updated in more than 4 months.