diff options
Diffstat (limited to 'userconfig-sthalik@Windows-MSVC.cmake')
| -rw-r--r-- | userconfig-sthalik@Windows-MSVC.cmake | 5 |
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") |
