Re: CMake help: "install TARGETS given no LIBRARY DESTINATION for shared library target"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 17, 2019 14:07:06 +0100, Kevin Kofler wrote:
> Igor Gnatenko wrote:
> > You can use include(GNUInstallDirs) 

They have included this, albeit a little later:

https://github.com/arbor-sim/arbor/blob/28e45aee46eb25dd91652768a5f5d496db05ba3a/CMakeLists.txt#L250

> >and then where install() is
> > called, you need to have install(… LIBRARY DESTINATION
> > ${CMAKE_INSTALL_LIBDIR}).
> 
> Right, the command in the upstream CMakeLists.txt is trying to install 
> something without saying WHERE it should be installed. I don't know why it 
> worked for them.

It also worked for me locally which is what confuses me. I'll patch the
CMakelists.txt file and open a PR upstream.

-- 
Thanks,
Regards,

Ankur Sinha "FranciscoD"
https://fedoraproject.org/wiki/User:Ankursinha

Time zone: Europe/London

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux