From: Nikos Chantziaras <realnc@gmail.com>
To: gentoo-devhelp@lists.gentoo.org
Subject: [gentoo-devhelp] Where should libraries be installed with cmake?
Date: Sat, 14 Jun 2014 00:58:29 +0300 [thread overview]
Message-ID: <lnfs65$cb$1@ger.gmane.org> (raw)
I'm creating a cmake file for a project. According to the cmake docs,
this is how I should install libraries:
install(TARGETS MyLibrary DESTINATION lib)
This installs the library files into ${CMAKE_INSTALL_PREFIX}/lib. With a
"/usr" prefix, that's simply "/usr/lib".
But this doesn't look correct to me. What about "/usr/lib/lib64"? And I
can't just use "lib64", since that means the library will end up in the
wrong place on 32-bit systems.
How do I handle this? The cmake documentation provides zero help on
this. With autoconf, this wasn't a problem, since there are variables
for the various install paths. cmake seems to give me nothing of the sort?
next reply other threads:[~2014-06-13 21:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-13 21:58 Nikos Chantziaras [this message]
2014-06-14 11:35 ` [gentoo-devhelp] Where should libraries be installed with cmake? justin
2014-06-14 15:39 ` [gentoo-devhelp] " Nikos Chantziaras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='lnfs65$cb$1@ger.gmane.org' \
--to=realnc@gmail.com \
--cc=gentoo-devhelp@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox