From 0dfb6d27f1b45a767d011d18c2d75a93381be67d Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Mon, 26 Sep 2022 22:01:24 +0400 Subject: [win32] Link Shlwapi --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 23cc9bc..0b0719e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,9 @@ target_include_directories( ${KIT_LIBRARY} INTERFACE $) target_compile_features(${KIT_LIBRARY} PUBLIC c_std_11) +if(WIN32) + target_link_libraries(${KIT_LIBRARY} PUBLIC Shlwapi) +endif() include(CheckCSourceRuns) -- cgit v1.2.3