2017-02-28 18:09:59 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2021-11-19 13:25:08 +08:00
|
|
|
index 6b39f0e..507eb4c 100644
|
2017-02-28 18:09:59 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2021-11-19 13:25:08 +08:00
|
|
|
@@ -2028,7 +2028,7 @@ ADD_SUBDIRECTORY(docs)
|
2017-02-28 18:09:59 +08:00
|
|
|
# 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}
|