summaryrefslogtreecommitdiffhomepage
path: root/userconfig-sthalik@Windows-MSVC.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-04-10 06:32:53 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-04-10 06:32:53 +0200
commitdbdc15bf200d8fcade0fb0b48701e0366d03806c (patch)
tree7ec3d42ecdd5e331de136d6992c22503c855df15 /userconfig-sthalik@Windows-MSVC.cmake
parent21afd181b2b59c5c10643754b3532fa1d6226030 (diff)
cmake
Diffstat (limited to 'userconfig-sthalik@Windows-MSVC.cmake')
-rw-r--r--userconfig-sthalik@Windows-MSVC.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/userconfig-sthalik@Windows-MSVC.cmake b/userconfig-sthalik@Windows-MSVC.cmake
index 82178993..e2aae06c 100644
--- a/userconfig-sthalik@Windows-MSVC.cmake
+++ b/userconfig-sthalik@Windows-MSVC.cmake
@@ -16,7 +16,10 @@ if(NOT DEFINED OpenCV_DIR)
endif()
endif()
-list(APPEND CMAKE_IGNORE_PATH "c:/msys64")
+if(NOT CMAKE_BUILD_TYPE STREQUAL "DEBUG")
+ set(BUILD_SHARED_LIBS OFF)
+endif()
+
list(APPEND CMAKE_IGNORE_PREFIX_PATH "c:/msys64")
set(CMAKE_INSTALL_MESSAGE NEVER)
sets(PATH CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install")