Am Freitag, 13. Mai 2016, 13:38:52 schrieb Brad King:
> On 05/13/2016 12:21 PM, Rolf Eike Beer wrote:
> >> Can you just use
> >>
> >> set_property(TARGET PkgConfig::${_prefix} PROPERTY ...)
> >>
> >> in each `if()` block?
> >
> > I had this before, but I thought I avoid multiple target
On 05/13/2016 12:21 PM, Rolf Eike Beer wrote:
>> Can you just use
>>
>> set_property(TARGET PkgConfig::${_prefix} PROPERTY ...)
>>
>> in each `if()` block?
>
> I had this before, but I thought I avoid multiple target lookups. You should
> only ever see that message if none of the branches is
Am Freitag, 13. Mai 2016, 11:16:28 schrieb Brad King:
> On 05/13/2016 11:02 AM, Rolf Eike Beer wrote:
> > Should all be done now.
>
> Thanks.
>
> The test fails for me with
>
> CMake Error at /.../Modules/FindPkgConfig.cmake:239
> (set_target_properties): set_target_properties called with
On 05/13/2016 11:02 AM, Rolf Eike Beer wrote:
> Should all be done now.
Thanks.
The test fails for me with
CMake Error at /.../Modules/FindPkgConfig.cmake:239 (set_target_properties):
set_target_properties called with incorrect number of arguments.
At least part of the problem is
Am Donnerstag, 12. Mai 2016, 13:17:42 schrieb Brad King:
> On 05/12/2016 12:48 PM, Rolf Eike Beer wrote:
> > Good point. I have changed this accordingly and pushed it to next. There
> > are no tests yet, so maybe not immediately merge it to next but wait for
> > the weekend or so.
>
> Okay,
On 05/12/2016 12:48 PM, Rolf Eike Beer wrote:
> Good point. I have changed this accordingly and pushed it to next. There are
> no tests yet, so maybe not immediately merge it to next but wait for the
> weekend or so.
Okay, thanks. Please also add a Help/release/dev/FindPkgConfig-targets.rst
Am Donnerstag, 12. Mai 2016, 09:53:06 schrieb Brad King:
> On 05/12/2016 09:34 AM, Rolf Eike Beer wrote:
> > find_library(${_prefix}-${CMAKE_MATCH_1}
> >
> > NAMES ${CMAKE_MATCH_1}
> > ${_find_opts})
> >
> > list(APPEND _libs "${${_prefix}-${CMAKE_MATCH_1}}")
>
>
On 05/12/2016 09:34 AM, Rolf Eike Beer wrote:
> find_library(${_prefix}-${CMAKE_MATCH_1}
> NAMES ${CMAKE_MATCH_1}
> ${_find_opts})
> list(APPEND _libs "${${_prefix}-${CMAKE_MATCH_1}}")
Generally I try to store the CMAKE_MATCH_ values in other variables
as soon as
Am 2016-05-12 14:59, schrieb Brad King:
On 05/11/2016 05:52 PM, Rolf Eike Beer wrote:
It has always nagged me that the FindPkgConfig module requires people
to use
link_directories(). Now I created a new optional mode for
pkg_check_modules()
and pkg_search_modules() which will search the
On 05/11/2016 05:52 PM, Rolf Eike Beer wrote:
> It has always nagged me that the FindPkgConfig module requires people to use
> link_directories(). Now I created a new optional mode for pkg_check_modules()
> and pkg_search_modules() which will search the absolute paths of the
> libraries
> that
It has always nagged me that the FindPkgConfig module requires people to use
link_directories(). Now I created a new optional mode for pkg_check_modules()
and pkg_search_modules() which will search the absolute paths of the libraries
that are returned by pkg-config, and create an imported
11 matches
Mail list logo