diff options
author | Marius Kittler <mariuskittler@gmx.de> | 2023-04-08 17:48:57 +0200 |
---|---|---|
committer | Marius Kittler <mariuskittler@gmx.de> | 2023-04-12 11:36:49 +0200 |
commit | bfae176fd3297089fb723cd1555b1ac981fed15a (patch) | |
tree | 0c194439ad31041ddd6b793f810b898ca31bf13d /cmake | |
parent | 8921709b8d8aafe4119a563650c93ba994c6f339 (diff) |
Use lower-case header/library names for with mingw-w64
When compiling under GNU/Linux with mingw-w64 this is required
as the filesystem is usually case-sensitive and mingw-w64 headers
and libraries all have lower-case names. This change shouldn't hurt
when compiling under Windows.
Change-Id: I46c64a8f2923cbe21ce3e6b922ce8b099681e528
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindWMF.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmake/FindWMF.cmake b/cmake/FindWMF.cmake index 2f4633c34..35a276cb4 100644 --- a/cmake/FindWMF.cmake +++ b/cmake/FindWMF.cmake @@ -25,11 +25,11 @@ find_library(WMF_UUID_LIBRARY uuid HINTS ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}) find_library(WMF_MSDMO_LIBRARY msdmo HINTS ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}) find_library(WMF_OLE32_LIBRARY ole32 HINTS ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}) find_library(WMF_OLEAUT32_LIBRARY oleaut32 HINTS ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}) -find_library(WMF_MF_LIBRARY Mf HINTS ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}) -find_library(WMF_MFUUID_LIBRARY Mfuuid HINTS ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}) -find_library(WMF_MFPLAT_LIBRARY Mfplat HINTS ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}) -find_library(WMF_MFCORE_LIBRARY Mfcore HINTS ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}) -find_library(WMF_PROPSYS_LIBRARY Propsys HINTS ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}) +find_library(WMF_MF_LIBRARY mf HINTS ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}) +find_library(WMF_MFUUID_LIBRARY mfuuid HINTS ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}) +find_library(WMF_MFPLAT_LIBRARY mfplat HINTS ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}) +find_library(WMF_MFCORE_LIBRARY mfcore HINTS ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}) +find_library(WMF_PROPSYS_LIBRARY propsys HINTS ${CMAKE_C_IMPLICIT_LINK_DIRECTORIES}) set(WMF_LIBRARIES ${WMF_STRMIIDS_LIBRARY} ${WMF_AMSTRMID_LIBRARY} ${WMF_DMOGUIDS_LIBRARY} ${WMF_UUID_LIBRARY} |