Fix cmake error when build with capstone as submodule#2619
Merged
kabeor merged 1 commit intocapstone-engine:v5from Mar 3, 2025
Merged
Fix cmake error when build with capstone as submodule#2619kabeor merged 1 commit intocapstone-engine:v5from
kabeor merged 1 commit intocapstone-engine:v5from
Conversation
Rot127
approved these changes
Feb 2, 2025
Contributor
|
I just saw this PR, it's fixing the same problem as #2629. |
Collaborator
|
Yes, but this is for the v5 branch. @WerWolv didn't seem to have time to fix the CI. |
Contributor
|
Ah, I did overlook that this PR is targeting v5.
I personally don't use v5, but I'm happy happy to backport the fix (if needed there) as soon as it is merged in to the |
Collaborator
|
It would be pretty helpful. A lot of people use v5 still. Because they can't put the effort into changing to v6 currently (or don't get enough out of it). |
netbsd-srcmastr
pushed a commit
to NetBSD/pkgsrc
that referenced
this pull request
Apr 12, 2025
Version 5.0.6: March 23th, 2025 What's Changed * V5 - Fix sdist build and add CI job for testing it. * Build Tarball before DEB/RPM package. * Fix cmake error when build with capstone as submodule * [v5] Tms32c64x little endian New Contributors * @WerWolv made their first contribution in capstone-engine/capstone#2619 Version 5.0.5: January 16th, 2025 What's Changed * Fix code missing in v5.0.4 Version 5.0.4: January 16th, 2025 What's Changed * [v5][SuperH] Fix missing setting detail->sh * tricore: fixes 2386 in v5 * Creating a functional Debian Package for Capstone v5 * Duplicate of 2590 for v5 Branch * Update version to v5.0.4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Your checklist for this pull request
Detailed description
Hey, really simple change making sure that cpack doesn't try to look for a LICENSE.TXT file in the main project root but in the current project root. This fixes the usecase where capstone is being included as a submodule and loaded using
add_subdirectoryin a cmake project. Previously it would look for LICENSE.TXT in the main project root directory, now it's looking for it in the capstone subdirectory.Test plan
add_subdirectory. Previously this would fail with a cpack error. Now it doesn't anymore.Closing issues