[CMake] CMake install imported target using WIX
Lars
laasunde at hotmail.com
Mon Feb 27 07:39:19 EST 2017
Hello,
Sorry for the delayed response. The issue has been resolved and was caused by incorrect component naming in cmake install(...) command.
Regards, Lars
________________________________
Fra: Nils Gladitz <nilsgladitz at gmail.com>
Sendt: 21. februar 2017 15:33
Til: Lars; cmake at cmake.org
Emne: Re: [CMake] CMake install imported target using WIX
On 02/21/2017 02:48 PM, Lars wrote:
Hello,
We are using the "config" mode of Find_Package that locates CompConfig.cmake which create IMPORTED targets.
CMakeLists.txt
Find_Package(some_comp ${some_comp_path})
CompConfig.cmake;
add_executable(app IMPORTED)
add_library(lib SHARED IMPORTED)
This works fine and once I read https://public.kitware.com/Bug/view.php?id=14311 I managed to get 'make install' to include the IMPORTED targets.
What exactly did you take from the issue report?
What are your install() commands?
Everything installed by "make install" should also land in the package assuming what ever install logic you used honors the install time CMAKE_INSTALL_PREFIX as set up by CPack.
Nils
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170227/5f71d859/attachment.html>
More information about the CMake
mailing list