From fd0b5f7a215ab0942ca0061be83d79269f820445 Mon Sep 17 00:00:00 2001 From: saturneric Date: Sun, 1 Dec 2024 02:32:41 +0100 Subject: [PATCH] fix: should not use mlang in such a way in mingw --- CMakeLists.txt | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 89fb980c..34e37648 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -820,22 +820,22 @@ IF(WIN32) ENDIF() # MLang - CHECK_INCLUDE_FILES(Mlang.h VMIME_HAVE_MLANG_H) - CHECK_LIBRARY_EXISTS("mlang" ConvertINetString "${CMAKE_LIBRARY_PATH}" VMIME_HAVE_MLANG_LIB) + # CHECK_INCLUDE_FILES(Mlang.h VMIME_HAVE_MLANG_H) + # CHECK_LIBRARY_EXISTS("mlang" ConvertINetString "${CMAKE_LIBRARY_PATH}" VMIME_HAVE_MLANG_LIB) - IF(VMIME_HAVE_MLANG_H) - IF(VMIME_HAVE_MLANG_LIB) - SET(VMIME_HAVE_MLANG ON) + # IF(VMIME_HAVE_MLANG_H) + # IF(VMIME_HAVE_MLANG_LIB) + # SET(VMIME_HAVE_MLANG ON) - IF(VMIME_BUILD_SHARED_LIBRARY) - TARGET_LINK_LIBRARIES( - ${VMIME_LIBRARY_NAME} - ${TARGET_LINK_LIBRARIES} - "mlang" - ) - ENDIF() - ENDIF() - ENDIF() + # IF(VMIME_BUILD_SHARED_LIBRARY) + # TARGET_LINK_LIBRARIES( + # ${VMIME_LIBRARY_NAME} + # ${TARGET_LINK_LIBRARIES} + # "mlang" + # ) + # ENDIF() + # ENDIF() + # ENDIF() ENDIF()