mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 03:09:00 +08:00
[angelscript] fix build dependency error (#31711)
* [angelscript] fix build dependency errors * update version * update portfile.cmake * update version --------- Co-authored-by: Zhao Liu <v-zhli17@microsoft.com>
This commit is contained in:
parent
8b10402c57
commit
7aed17856b
9
ports/angelscript/fix-dependency.patch
Normal file
9
ports/angelscript/fix-dependency.patch
Normal file
@ -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)
|
||||
|
@ -9,6 +9,7 @@ vcpkg_extract_source_archive(
|
||||
ARCHIVE "${ARCHIVE}"
|
||||
PATCHES
|
||||
mark-threads-private.patch
|
||||
fix-dependency.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
@ -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",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "5c1bc126371829227e923c11f029a539a234a483",
|
||||
"version": "2.36.1",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "e90e0fe54ab8038226b849471fba169157753c19",
|
||||
"version": "2.36.1",
|
||||
|
@ -118,7 +118,7 @@
|
||||
},
|
||||
"angelscript": {
|
||||
"baseline": "2.36.1",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"angle": {
|
||||
"baseline": "chromium_5414",
|
||||
|
Loading…
Reference in New Issue
Block a user