1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00
falkonOfficial/cmake/FindLibIntl.cmake

10 lines
291 B
CMake
Raw Normal View History

2018-07-01 16:22:34 +02:00
find_path(LibIntl_INCLUDE_DIRS NAMES libintl.h)
find_library(LibIntl_LIBRARIES NAMES intl libintl)
include(CheckCXXSymbolExists)
check_cxx_symbol_exists(gettext libintl.h LibIntl_SYMBOL_FOUND)
if (LibIntl_SYMBOL_FOUND)
set(LibIntl_FOUND TRUE)
else()
set(LibIntl_FOUND FALSE)
endif()