Re: [CMake] Fwd: Fwd: cpack DragNDrop on OSX 10.7

2011-12-21 Thread Yngve Levinsen
Dear Clinton and David, Thanks for your replies. I did notice the COMPONENT discrepancy on my other project, but I figured out now that I had misunderstood the first time (or at least I think so). What I wrote then was something along the lines of (which didn't work): INSTALL(TARGETS ${mtargets}

Re: [CMake] Fwd: Fwd: cpack DragNDrop on OSX 10.7

2011-12-20 Thread Clinton Stimpson
This doesn't look right: INSTALL(TARGETS ${mtargets} BUNDLE DESTINATION . RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib ) INSTALL(CODE " include(BundleUtilities) fixup_bundle(\"${APPS}\" \"\" \"${DIRS}\") " COMPONENT Runtime) The target and fixup

Re: [CMake] Fwd: Fwd: cpack DragNDrop on OSX 10.7

2011-12-20 Thread David Cole
Good catch, Clinton. I did not notice the COMPONENT discrepancy. On Tue, Dec 20, 2011 at 6:26 PM, Clinton Stimpson wrote: > > This doesn't look right: > > INSTALL(TARGETS ${mtargets} >  BUNDLE DESTINATION . >  RUNTIME DESTINATION bin >  LIBRARY DESTINATION lib >  ARCHIVE DESTINATION lib > ) > >

Re: [CMake] Fwd: Fwd: cpack DragNDrop on OSX 10.7

2011-12-20 Thread David Cole
You're doing this: set(APPS "\${CMAKE_INSTALL_PREFIX}/madx${BINARY_POSTFIX}.app") # paths to executables set(DIRS "") Then this: INSTALL(CODE " include(BundleUtilities) fixup_bundle(\"${APPS}\" \"\" \"${DIRS}\") " COMPONENT Runtime) Which means that your install code (in

[CMake] Fwd: Fwd: cpack DragNDrop on OSX 10.7

2011-12-19 Thread Yngve Levinsen
I *have* to learn to click reply all soon! Sorry once again. Cheers, Yngve -- Forwarded message -- From: Yngve Levinsen Date: 19 December 2011 17:30 Subject: Re: [CMake] Fwd: cpack DragNDrop on OSX 10.7 To: David Cole I did not change any install rules. Yes it was working bef