mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 08:41:37 +08:00
6d2c971458
Fixes https://github.com/microsoft/vcpkg/issues/38009 Remove the statement renaming liblapack.lib. - [X] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [ ] ~~SHA512s are updated for each updated download.~~ - [ ] ~~The "supports" clause reflects platforms that may be fixed by this new version.~~ - [ ] ~~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~~ - [ ] ~~Any patches that are no longer applied are deleted from the port's directory.~~ - [X] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [X] Only one version is added to each modified port's versions file. Usage test pass with following triplets: ``` x64-windows ``` --------- Co-authored-by: Jim wang (BEYONDSOFT CONSULTING INC) <v-wangjim@microsoft.com>
18 lines
575 B
Diff
18 lines
575 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 39ec359..ee90ae6 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -177,10 +177,8 @@ if(Boost_FOUND)
|
|
LIST(APPEND OpenMVS_DEFINITIONS -D_USE_BOOST)
|
|
ADD_DEFINITIONS(${Boost_DEFINITIONS})
|
|
LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
|
|
- if(NOT MSVC AND DEFINED CMAKE_TOOLCHAIN_FILE)
|
|
- # work around this missing library link in vcpkg
|
|
- LIST(APPEND Boost_LIBRARIES zstd)
|
|
- endif()
|
|
+ # work around this missing library link in vcpkg
|
|
+ LIST(APPEND Boost_LIBRARIES zstd)
|
|
SET(_USE_BOOST TRUE)
|
|
endif()
|
|
|