Skip to content
New issue

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

[angelscript] fix build dependency error #31711

Merged
merged 4 commits into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions ports/angelscript/fix-dependency.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
diff --git a/angelscript/projects/cmake/cmake/AngelscriptConfig.cmake b/angelscript/projects/cmake/cmake/AngelscriptConfig.cmake
index 4d1ef0f..ec14fe9 100644
--- a/angelscript/projects/cmake/cmake/AngelscriptConfig.cmake
+++ b/angelscript/projects/cmake/cmake/AngelscriptConfig.cmake
@@ -1,2 +1,4 @@
include("${CMAKE_CURRENT_LIST_DIR}/AngelscriptTargets.cmake")
+include(CMakeFindDependencyMacro)
+find_dependency(Threads REQUIRED)

1 change: 1 addition & 0 deletions ports/angelscript/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ vcpkg_extract_source_archive(
ARCHIVE "${ARCHIVE}"
PATCHES
mark-threads-private.patch
fix-dependency.patch
)

vcpkg_cmake_configure(
Expand Down
1 change: 1 addition & 0 deletions ports/angelscript/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "angelscript",
"version": "2.36.1",
"port-version": 1,
"description": "The AngelCode Scripting Library, or AngelScript as it is also known, is an extremely flexible cross-platform scripting library designed to allow applications to extend their functionality through external scripts. It has been designed from the beginning to be an easy to use component, both for the application programmer and the script writer.",
"homepage": "https://angelcode.com/angelscript",
"license": "Zlib",
Expand Down
5 changes: 5 additions & 0 deletions versions/a-/angelscript.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5c1bc126371829227e923c11f029a539a234a483",
"version": "2.36.1",
"port-version": 1
},
{
"git-tree": "e90e0fe54ab8038226b849471fba169157753c19",
"version": "2.36.1",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
},
"angelscript": {
"baseline": "2.36.1",
"port-version": 0
"port-version": 1
},
"angle": {
"baseline": "chromium_5414",
Expand Down