Comments (6)
With vcpkg in /opt
, you trigger a special CMake GNUInstallDirs
behvavior of redirecting certain system prefixes.
https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html#special-cases
I suggest you choose a different dir for vcpgk.
from vcpkg.
I'm using Arch with yay, it's the default behaviour to install vcpkg
in /opt
. I configured it to /usr/local
and the problem solved, will push this to yay
from vcpkg.
OK thank you for your suggestion
from vcpkg.
I met the same question, don't really understand why it's happening, is there any other way to solve this ? it's a common practice to put extra software under /opt
.
from vcpkg.
It happens because CMake thinks that this is what you want when you build for installation to /opt
.
You can use your own patched CMake.
You can open an issue at CMake.
IMO it is not good practice to develop in /opt
. Note that vcpkg is not meant to be a generic package manager, but /opt
is a location for all users of a system.
from vcpkg.
I sent this issue to the maintainer of vcpkg
package of AUR, he suggests we set the installation path to /usr/lib
, which is better
I've read the issue, and I agree with your proposal. However, I'm certain that /usr/lib/vcpkg would be a better installation directory. According to FHS, /usr/local should be used for software installed by the system administrator, not the package manager (more info here). At the same time, FHS allows putting applications in their subdirectory in /usr/lib, as mentioned here. Firefox is probably the best example.
I have tested dbus
, it's working by default now
from vcpkg.
Related Issues (20)
- [libmysql] Build error on x64-windows HOT 1
- [libmysql] Build error on x64-windows HOT 3
- [libmysql] Build error on x64-linux HOT 1
- [benchmark] update to 1.8.4
- [libslirp] update to v4.8.0
- [live555] update to latest
- [openssl] Build error HOT 7
- Packages fail with Visual Studio 17.10 HOT 3
- [ace] update to 8.0.0
- Command failed on windows 64 HOT 8
- [qt5-declarative] qt5_import_qml_plugins always import release libraries even if debug build
- boost-filesystem build failure HOT 3
- [qttools] Install error. HOT 6
- [shader-slang] Add cmake targets HOT 2
- [opencc] hope support for arm64-windows
- vcpkg.exe cannot determine the version of the downloaded nuget.exe. HOT 9
- [armadillo] Build error on x64-windows HOT 6
- [libsodium] build failure, wrong hash since url points to dynamic tag HOT 4
- [openssl] write_contents error HOT 1
- vcpkg was unable to detect the active compiler's information HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vcpkg.