fix: should not use mlang in such a way in mingw
All checks were successful
Compilation test / build (push) Successful in 14m24s
All checks were successful
Compilation test / build (push) Successful in 14m24s
This commit is contained in:
parent
193a9ee85b
commit
fd0b5f7a21
@ -820,22 +820,22 @@ IF(WIN32)
|
|||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
# MLang
|
# MLang
|
||||||
CHECK_INCLUDE_FILES(Mlang.h VMIME_HAVE_MLANG_H)
|
# CHECK_INCLUDE_FILES(Mlang.h VMIME_HAVE_MLANG_H)
|
||||||
CHECK_LIBRARY_EXISTS("mlang" ConvertINetString "${CMAKE_LIBRARY_PATH}" VMIME_HAVE_MLANG_LIB)
|
# CHECK_LIBRARY_EXISTS("mlang" ConvertINetString "${CMAKE_LIBRARY_PATH}" VMIME_HAVE_MLANG_LIB)
|
||||||
|
|
||||||
IF(VMIME_HAVE_MLANG_H)
|
# IF(VMIME_HAVE_MLANG_H)
|
||||||
IF(VMIME_HAVE_MLANG_LIB)
|
# IF(VMIME_HAVE_MLANG_LIB)
|
||||||
SET(VMIME_HAVE_MLANG ON)
|
# SET(VMIME_HAVE_MLANG ON)
|
||||||
|
|
||||||
IF(VMIME_BUILD_SHARED_LIBRARY)
|
# IF(VMIME_BUILD_SHARED_LIBRARY)
|
||||||
TARGET_LINK_LIBRARIES(
|
# TARGET_LINK_LIBRARIES(
|
||||||
${VMIME_LIBRARY_NAME}
|
# ${VMIME_LIBRARY_NAME}
|
||||||
${TARGET_LINK_LIBRARIES}
|
# ${TARGET_LINK_LIBRARIES}
|
||||||
"mlang"
|
# "mlang"
|
||||||
)
|
# )
|
||||||
ENDIF()
|
# ENDIF()
|
||||||
ENDIF()
|
# ENDIF()
|
||||||
ENDIF()
|
# ENDIF()
|
||||||
|
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user