mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 20:10:51 +08:00
14 lines
434 B
Diff
14 lines
434 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index e87f3de..46892ee 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -1570,7 +1570,7 @@ ADD_SUBDIRECTORY(docs)
|
||
|
# install them in the binary dir. Grab all of the .libs, put them
|
||
|
# in the libdir.
|
||
|
##
|
||
|
-IF(MSVC)
|
||
|
+IF(MSVC AND NOT DISABLE_INSTALL_DEPENDENCIES)
|
||
|
FILE(GLOB COPY_FILES ${CMAKE_PREFIX_PATH}/lib/*.lib)
|
||
|
INSTALL(FILES ${COPY_FILES}
|
||
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|