mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 13:29:04 +08:00
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
|