Skip to content

Commit

Permalink
Use lowercase for shlwapi.lib rpcrt4.lib (facebook#6076)
Browse files Browse the repository at this point in the history
Summary:
This fixes MinGW cross compilation from case-sensative file systems, at no harm to MinGW builds on  Windows.
Pull Request resolved: facebook#6076

Differential Revision: D18710554

fbshipit-source-id: a9f299ac3aa019f7dbc07ed0c4a79e19cf99b488
  • Loading branch information
Ericson2314 authored and facebook-github-bot committed Nov 26, 2019
1 parent 1bf316e commit 771e172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ if(WITH_LIBRADOS)
endif()

if(WIN32)
set(SYSTEM_LIBS ${SYSTEM_LIBS} Shlwapi.lib Rpcrt4.lib)
set(SYSTEM_LIBS ${SYSTEM_LIBS} shlwapi.lib rpcrt4.lib)
set(LIBS ${ROCKSDB_STATIC_LIB} ${THIRDPARTY_LIBS} ${SYSTEM_LIBS})
else()
set(SYSTEM_LIBS ${CMAKE_THREAD_LIBS_INIT})
Expand Down

0 comments on commit 771e172

Please sign in to comment.