We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
CMake is not able to install libcbor due to a bug in the configuration
CMake
libcbor
To Reproduce
cmake -GNinja -Bxxx -S. -DCMAKE_INSTALL_PREFIX=/tmp/cbor
cmake --build xxx/ --target install
Expected behavior
A properly installed libcbor under /tmp/cbor/
/tmp/cbor/
Environment
current master all os tested so far (mac os 14, debian 12, windows 10)
The text was updated successfully, but these errors were encountered:
This is not actionable. Can you please provide the exact environment description and logs?
Sorry, something went wrong.
@PJK ok, figured out what was going on.
libcbor/CMakeLists.txt
Line 11 in 9b1b5a1
so, to sum up: with CMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON you need to run:
CMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON
cmake --build xxx
cmake --install xxx
cmake --build xxx --target install
whereas with
cmake -GNinja -Bxxx -S. -DCMAKE_INSTALL_PREFIX=/tmp/cbor -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=OFF
suffices.
PJK
No branches or pull requests
Describe the bug
CMake
is not able to installlibcbor
due to a bug in the configurationTo Reproduce
cmake -GNinja -Bxxx -S. -DCMAKE_INSTALL_PREFIX=/tmp/cbor
cmake --build xxx/ --target install
Expected behavior
A properly installed
libcbor
under/tmp/cbor/
Environment
current master
all os tested so far (mac os 14, debian 12, windows 10)
The text was updated successfully, but these errors were encountered: