aboutsummaryrefslogtreecommitdiffstats
path: root/community/widelands/0001-link-libintl.patch
blob: 17fb468d3aec13f5fa39d71be4338be879b47c5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 36dbf33b6b28e5d7461102cba550137ce885ea26 Mon Sep 17 00:00:00 2001
From: clayton craft <clayton@craftyguy.net>
Date: Fri, 30 Jul 2021 19:35:23 +0000
Subject: [PATCH] link libintl

---
 CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7e9305e5..a8613a73 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,6 +19,8 @@ set(WL_ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
 include("${CMAKE_SOURCE_DIR}/cmake/UseSystemInfo.cmake")
 include("${CMAKE_SOURCE_DIR}/cmake/WlFunctions.cmake")
 
+link_directories(/usr/lib)
+link_libraries(intl)
 # This policy is not known to versions prior 3.11 and would result in errors,
 # if set on such systems. This can be removed when cmake_minimum_required is set
 # to 3.11 or newer  by using:
-- 
2.32.0