vcpkg/ports/highs/fix-threads.patch

14 lines
545 B
Diff
Raw Normal View History

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
2023-10-03 07:10:33 +08:00
index fc24e57..fe0edfe 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
2023-10-03 07:10:33 +08:00
@@ -573,7 +573,7 @@ else()
$<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)")
2023-10-03 07:10:33 +08:00
endif()
2023-10-03 07:10:33 +08:00
# # on UNIX system the 'lib' prefix is automatically added