diff options
author | orbea <orbea@riseup.net> | 2020-04-28 14:34:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 16:34:18 +0200 |
commit | a368e7e79303fa02ef97580a2c387dcee57bc3c4 (patch) | |
tree | 36ea5142b21230c8120a60a078980fb48f923206 /cmake/Modules/FindGettextLib.cmake | |
parent | b9377f26a198d0383b82c76cf6904bc1797e8187 (diff) | |
download | minetest-a368e7e79303fa02ef97580a2c387dcee57bc3c4.tar.gz minetest-a368e7e79303fa02ef97580a2c387dcee57bc3c4.tar.bz2 minetest-a368e7e79303fa02ef97580a2c387dcee57bc3c4.zip |
cmake: Silence warnings. (#9750)
Fixes https://github.com/minetest/minetest/issues/9734
Diffstat (limited to 'cmake/Modules/FindGettextLib.cmake')
-rw-r--r-- | cmake/Modules/FindGettextLib.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Modules/FindGettextLib.cmake b/cmake/Modules/FindGettextLib.cmake index 11de12177..529452a4a 100644 --- a/cmake/Modules/FindGettextLib.cmake +++ b/cmake/Modules/FindGettextLib.cmake @@ -55,10 +55,10 @@ endif(WIN32) include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(GetText DEFAULT_MSG ${GETTEXT_REQUIRED_VARS}) +find_package_handle_standard_args(GettextLib DEFAULT_MSG ${GETTEXT_REQUIRED_VARS}) -if(GETTEXT_FOUND) +if(GETTEXTLIB_FOUND) # BSD variants require special linkage as they don't use glibc if(${CMAKE_SYSTEM_NAME} MATCHES "BSD|DragonFly") set(GETTEXT_LIBRARY "intl") |