Re: [CMake] [CPack] Avoiding packaging (some) dependencies

2018-05-17 Thread Drago Trusk
I wasn't aware of REMOVE_ITEM CPACK_COMPONENTS_ALL and hint is much appreciated (though sadly I cannot use it). Good to know ;) On Wed, May 16, 2018 at 10:37 AM Eric Noulard wrote: > > > 2018-05-16 9:33 GMT+02:00 Drago Trusk : > >> Hi everyone, >> >> I

[CMake] [CPack] Avoiding packaging (some) dependencies

2018-05-16 Thread Drago Trusk
Hi everyone, I have particular problem which I'm unable to solve. Lets say there are following components: - Main: library/executable - Ignorable: Main requires it to build, but not for packaging Main simply defines: add_dependencies(Main Ignorable) FindIgnorable.cmake contains something like