From d9486493ded25426042a5f6327c097a6cad756b4 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 11 Sep 2022 18:16:34 +0200 Subject: Fixed WIN32 build of dat There might be small differences between option handling and fnmatch vs. PathMatchSpecA, but that's understandable. --- ArchiveEx/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ArchiveEx/CMakeLists.txt') diff --git a/ArchiveEx/CMakeLists.txt b/ArchiveEx/CMakeLists.txt index 62e414e..158e2b3 100644 --- a/ArchiveEx/CMakeLists.txt +++ b/ArchiveEx/CMakeLists.txt @@ -19,3 +19,9 @@ target_link_libraries( dat PRIVATE ArchiveEx ) +if(WIN32) + target_link_libraries( + dat + PRIVATE -l:libshlwapi.a + ) +endif() -- cgit v1.1