1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00
falkonOfficial/cmake/FindLibIntl.cmake
Anmol Gautam 5daddc4c6c Add QML Extensions API
Summary: Add QML Extensions API

Reviewers: drosca

Reviewed By: drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D14774
2018-09-29 00:47:47 +05:30

10 lines
289 B
CMake

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(HAVE_LIBINTL TRUE)
else()
set(HAVE_LIBINTL FALSE)
endif()