early-access version 2853
This commit is contained in:
12
externals/vcpkg/ports/kenlm/fix-boost.patch
vendored
Executable file
12
externals/vcpkg/ports/kenlm/fix-boost.patch
vendored
Executable file
@@ -0,0 +1,12 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index bec81d4..44fd48a 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,6 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
|
||||
-if (WIN32)
|
||||
+if (WIN32 AND BUILD_SHARED_LIBS)
|
||||
set(Boost_USE_STATIC_LIBS OFF)
|
||||
# The auto-linking feature has problems with USE_STATIC_LIBS off, so we use
|
||||
# BOOST_ALL_NO_LIB to turn it off.
|
||||
Reference in New Issue
Block a user