Re: [cmake-developers] Mixing generator expressions and debug|optimized|general keywords in target_link_libraries()

2014-09-02 Thread Nils Gladitz
On 09/02/2014 04:12 PM, Brad King wrote: On 08/29/2014 05:26 AM, Nils Gladitz wrote: Steve K and I discussed this once. Since DEBUG_CONFIGURATIONS can be set differently in exporting and importing projects so there is no global meaning across all targets. See the cmTarget::GetDebugGeneratorExpr

Re: [cmake-developers] Mixing generator expressions and debug|optimized|general keywords in target_link_libraries()

2014-09-02 Thread Brad King
On 08/29/2014 05:26 AM, Nils Gladitz wrote: > I tried wrapping the libraries returned by FindBoost.cmake in > $ in a target_link_libraries() call and noticed that > this breaks because of the debug/optimized keywords that the find module > inserts. > > Specifically it results in CMake trying to

[cmake-developers] Mixing generator expressions and debug|optimized|general keywords in target_link_libraries()

2014-08-29 Thread Nils Gladitz
I tried wrapping the libraries returned by FindBoost.cmake in $ in a target_link_libraries() call and noticed that this breaks because of the debug/optimized keywords that the find module inserts. Specifically it results in CMake trying to link e.g. "optimized.lib". Should/could these keyword