vcpkg/ports/highs/fix-threads.patch
2023-10-02 16:10:33 -07:00

14 lines
545 B
Diff

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index fc24e57..fe0edfe 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -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)")
endif()
# # on UNIX system the 'lib' prefix is automatically added