vcpkg/ports/angelscript/fix-dependency.patch
JonLiu1993 7aed17856b
[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>
2023-05-31 11:55:10 -07:00

10 lines
445 B
Diff

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)