Skip to content

Commit

Permalink
CMake; windows: link to lowercase 'shlwapi' - consistent with headers (
Browse files Browse the repository at this point in the history
…#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 5261307
that only addressed the headers, but not libraries.
The problem remains when one tries to do a MinGW cross-build from
case-sensitive filesystem.
  • Loading branch information
LebedevRI authored and dominichamon committed Jul 22, 2019
1 parent df4f9fe commit 8e48105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ endif()

# We need extra libraries on Windows
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
target_link_libraries(benchmark Shlwapi)
target_link_libraries(benchmark shlwapi)
endif()

# We need extra libraries on Solaris
Expand Down

0 comments on commit 8e48105

Please sign in to comment.