Re: [CMake] Setting IMPORTED_LOCATION_* for existing packages

2011-09-22 Thread Michael Hertling
On 09/21/2011 09:07 AM, Hauke Heibel wrote: Hi, I started to work with imported targets and thus with setting the property IMPORTED_LOCATION and the like. I stumbled over a case (GTest) where the standard find_package call returns me a list of libs for 'debug' and 'optimized' modes and I am

Re: [CMake] Setting IMPORTED_LOCATION_* for existing packages

2011-09-22 Thread Hauke Heibel
Hi Michael, First, thank you for the feedback. On Thu, Sep 22, 2011 at 7:19 PM, Michael Hertling mhertl...@online.de wrote: AFAICS, you've a single imported target GTest, and you are continuously setting *this* target's location - sometimes for a debug configuration, sometimes without

Re: [CMake] Setting IMPORTED_LOCATION_* for existing packages

2011-09-22 Thread Michael Hertling
On 09/22/2011 09:21 PM, Hauke Heibel wrote: Hi Michael, First, thank you for the feedback. On Thu, Sep 22, 2011 at 7:19 PM, Michael Hertling mhertl...@online.de wrote: AFAICS, you've a single imported target GTest, and you are continuously setting *this* target's location - sometimes for