From 67975a5944706e382fe1e7b00d226715c6242358 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 20 May 2024 10:07:16 -0400 Subject: Mass attempt at windows portability --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 0824baa..4761a8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,6 +21,10 @@ elseif (CMAKE_C_COMPILER_ID STREQUAL "MSVC") add_compile_options(${win_cflags}) endif() +link_libraries(curl) +if (WIN32) + link_libraries(shlwapi) +endif () add_subdirectory(src) set(SYSCONFDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SYSCONFDIR}") -- cgit