Commit 8e48105d by Roman Lebedev Committed by Dominic Hamon

CMake; windows: link to lowercase 'shlwapi' - consistent with headers (#840)

The filenames are consistently inconsistent in windows world, might have something to do with default file system being case-insensitive. While the native MinGW buils were fixed in 52613079 that only addressed the headers, but not libraries. The problem remains when one tries to do a MinGW cross-build from case-sensitive filesystem.
parent df4f9fe3
...@@ -44,7 +44,7 @@ endif() ...@@ -44,7 +44,7 @@ endif()
# We need extra libraries on Windows # We need extra libraries on Windows
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
target_link_libraries(benchmark Shlwapi) target_link_libraries(benchmark shlwapi)
endif() endif()
# We need extra libraries on Solaris # We need extra libraries on Solaris
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment