Fedora在/usr/lib64和/usr/lib上都有动态库,分别用于64位和32位库;而64位Debian在/usr/lib/x86_64-linux-gnu上安装了一些64位库,但似乎有些64位库还在/usr/lib中。
这看起来很乱。所以,当我为我的项目编写一个cmake文件时,如何确定安装编译后的库的位置?
发布于 2014-11-05 21:14:31
使用GNUInstallDirs,它会为你做所有的事情。
https://stackoverflow.com/questions/26756943
复制相似问题