summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2022-09-26 22:01:24 +0400
committerMitya Selivanov <automainint@guattari.tech>2022-09-26 22:01:24 +0400
commit0dfb6d27f1b45a767d011d18c2d75a93381be67d (patch)
tree881bc8e2ffa6763fa34e6bc89540ae99d2db8958
parent359e76a48c121037a352b1b6fe94a08f9c57c6be (diff)
downloadkit-0dfb6d27f1b45a767d011d18c2d75a93381be67d.zip
[win32] Link Shlwapi
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/source>)
target_compile_features(${KIT_LIBRARY} PUBLIC c_std_11)
+if(WIN32)
+ target_link_libraries(${KIT_LIBRARY} PUBLIC Shlwapi)
+endif()
include(CheckCSourceRuns)