Re: How to build CPM.cmake packages?

2021-01-16 Thread Bob Hepple
Thanks Vitaly, I'll follow up on that this week. Cheers Bob On Sat, 16 Jan 2021 at 20:45, Vitaly Zaitsev via devel wrote: > > On 16.01.2021 08:57, Bob Hepple wrote: > > Any ideas how to overcome this? > > UPD: CPM can use packaged versions[1]. You just need to forward >

Re: How to build CPM.cmake packages?

2021-01-16 Thread Vitaly Zaitsev via devel
On 16.01.2021 08:57, Bob Hepple wrote: Any ideas how to overcome this? UPD: CPM can use packaged versions[1]. You just need to forward -DCPM_USE_LOCAL_PACKAGES:BOOL=TRUE. Example: %build %cmake \ -DCPM_USE_LOCAL_PACKAGES:BOOL=TRUE \ -DCPM_LOCAL_PACKAGES_ONLY:BOOL=TRUE [1]:

Re: How to build CPM.cmake packages?

2021-01-16 Thread Vitaly Zaitsev via devel
On 16.01.2021 08:57, Bob Hepple wrote: One of my packages has started to use CPM.cmake (https://github.com/TheLartians/CPM.cmake) which is a "Setup-free CMake dependency management" addon script for cmake. You should ask upstream to make this optional (allow forwarding the special

How to build CPM.cmake packages?

2021-01-15 Thread Bob Hepple
One of my packages has started to use CPM.cmake (https://github.com/TheLartians/CPM.cmake) which is a "Setup-free CMake dependency management" addon script for cmake. I'm hoping someone out there has some expertise and can coach me through this - I'm frankly bewildered by it. My problem is that