Petr,
That worked nicely. Cheers 😊
regards, Lars
Fra: Petr Kmoch
Sendt: onsdag 9. januar 2019 16.11
Til: Lars
Kopi: cmake@cmake.org
Emne: Re: [CMake] install files generator expression
Hi Lars.
The DESTINATION parameter of install() accepts only a single
Hi Lars.
The DESTINATION parameter of install() accepts only a single argument,
which means it's tripping on the line break between the two genexes. Make
it one argument:
INSTALL(FILES ${qt5_locations}
DESTINATION
$<$:bin>$<$:lib>
COMPONENT runtime)
This should work.
Petr
On Wed, 9 Ja
Hello,
We use find_package command in config mode to find Qt 5.11 libraries. The
libraries are available as imported (Qt5::Core etc).
Our understand is that CMake does not support install of imported targets.
Therefore we use get_target_property to find actual location of library and
Install(F