mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 12:29:08 +08:00
a8e1b590c6
* Added new port for the HiGHS optimization library * Fixed formatting and added versions * Fixed sha hash * Updated port to exclude arm64 support * Update SHA * Added license to vcpkg.json Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Use VERSION variable for portfile.cmake Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update SHA * Removed redundant differences in cmake patch * Update SHA * Improved pkconfig and thread support * Update SHA * Enable support for arm64 * Update SHA * Fixed linker errors for arm64-windows builds * Update SHA * Changed patch name, converted tab to spaces for consistency * Update SHA * Cleaned portfile, replaced pkgconfig patch with vcpkg command * Updated SHA * Updated fix-threads patch * Update SHA * Improved the threads patch * Update SHA --------- Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> Co-authored-by: Luke Marshall <luke.marshall@microsoft.com>
14 lines
561 B
Diff
14 lines
561 B
Diff
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
index b92cb4c09..2ffeec1a9 100644
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -562,7 +562,7 @@ if (ZLIB AND ZLIB_FOUND)
|
|
$<BUILD_INTERFACE:${HIGHS_SOURCE_DIR}/extern/zstr>
|
|
)
|
|
target_link_libraries(highs ZLIB::ZLIB)
|
|
- set(CONF_DEPENDENCIES "include(CMakeFindDependencyMacro)\nfind_dependency(ZLIB)")
|
|
+ set(CONF_DEPENDENCIES "include(CMakeFindDependencyMacro)\nfind_dependency(ZLIB)\nfind_dependency(Threads)")
|
|
endif()
|
|
|
|
# # on UNIX system the 'lib' prefix is automatically added
|