mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-21 18:11:11 +00:00
cmake: Silence warnings. (#9750)
Fixes https://github.com/minetest/minetest/issues/9734
This commit is contained in:
parent
b9377f26a1
commit
a368e7e793
4 changed files with 8 additions and 8 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue