summaryrefslogtreecommitdiff
path: root/games/widelands/files/patch-cmake_WlFunctions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'games/widelands/files/patch-cmake_WlFunctions.cmake')
-rw-r--r--games/widelands/files/patch-cmake_WlFunctions.cmake13
1 files changed, 11 insertions, 2 deletions
diff --git a/games/widelands/files/patch-cmake_WlFunctions.cmake b/games/widelands/files/patch-cmake_WlFunctions.cmake
index 2c6c08d202a0..e0cd40514c95 100644
--- a/games/widelands/files/patch-cmake_WlFunctions.cmake
+++ b/games/widelands/files/patch-cmake_WlFunctions.cmake
@@ -1,6 +1,15 @@
---- cmake/WlFunctions.cmake.orig 2020-07-12 19:33:44 UTC
+--- cmake/WlFunctions.cmake.orig 2021-06-14 09:22:20 UTC
+++ cmake/WlFunctions.cmake
-@@ -289,5 +289,5 @@ function(wl_binary NAME)
+@@ -132,7 +132,7 @@ macro(_common_compile_tasks)
+ if (OPTION_BUILD_WINSTATIC)
+ target_link_libraries(${NAME} ${TARGET_LINK_FLAGS} CURL::libcurl ${CURL_EXTRA_LIBS} gdi32 crypt32 wldap32 nghttp2)
+ else()
+- target_link_libraries(${NAME} curl)
++ target_link_libraries(${NAME} CURL::libcurl)
+ endif()
+ endif()
+
+@@ -325,5 +325,5 @@ function(wl_binary NAME)
#Quoting the CMake documentation on DESTINATION:
#"If a relative path is given it is interpreted relative to the value of CMAKE_INSTALL_PREFIX"