summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorLeonid Bobrov <mazocomp@disroot.org>2019-02-03 10:53:54 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2019-02-03 09:53:54 +0100
commit339341ba4e270cc86e82db008e6325f03d1046f7 (patch)
treee129e568fb172c567dc3c852a5bf5e9aa557fb25 /cmake
parent70672e1cb7634afc8f884c3ff8a6dca1448abff7 (diff)
downloadminetest-339341ba4e270cc86e82db008e6325f03d1046f7.tar.gz
minetest-339341ba4e270cc86e82db008e6325f03d1046f7.tar.bz2
minetest-339341ba4e270cc86e82db008e6325f03d1046f7.zip
DragonFly BSD is somewhat identical to FreeBSD (#8159)
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/FindGettextLib.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/FindGettextLib.cmake b/cmake/Modules/FindGettextLib.cmake
index cb1ce7b91..11de12177 100644
--- a/cmake/Modules/FindGettextLib.cmake
+++ b/cmake/Modules/FindGettextLib.cmake
@@ -60,7 +60,7 @@ find_package_handle_standard_args(GetText DEFAULT_MSG ${GETTEXT_REQUIRED_VARS})
if(GETTEXT_FOUND)
# BSD variants require special linkage as they don't use glibc
- if(${CMAKE_SYSTEM_NAME} MATCHES "BSD")
+ if(${CMAKE_SYSTEM_NAME} MATCHES "BSD|DragonFly")
set(GETTEXT_LIBRARY "intl")
endif()