Skip to content

Commit 1b721bb

Browse files
authored
Fix bug: link Shlwapi in Libs.private for Windows (#1996)
* link Shlwapi in Libs.private for Windows * Add self as contributor
1 parent ce80955 commit 1b721bb

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Rainer Orth <[email protected]>
6363
Roman Lebedev <[email protected]>
6464
Sayan Bhattacharjee <[email protected]>
6565
66+
Shashank Thakur <[email protected]>
6667
Shuo Chen <[email protected]>
6768
Staffan Tjernstrom <[email protected]>
6869
Steinar H. Gunderson <[email protected]>

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ Ray Glover <[email protected]>
8989
Robert Guo <[email protected]>
9090
Roman Lebedev <[email protected]>
9191
Sayan Bhattacharjee <[email protected]>
92+
Shashank Thakur <[email protected]>
9293
Shuo Chen <[email protected]>
9394
Steven Wan <[email protected]>
9495
Tobias Schmidt <[email protected]>

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ endif(HAVE_LIB_RT)
6262
# We need extra libraries on Windows
6363
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
6464
target_link_libraries(benchmark PRIVATE shlwapi)
65+
set(BENCHMARK_PRIVATE_LINK_LIBRARIES -lShlwapi)
6566
endif()
6667

6768
# We need extra libraries on Solaris

0 commit comments

Comments
 (0)