Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMatteo F. Vescovi <mfvescovi+gitlab@gmail.com>2020-10-20 18:40:00 +0300
committerMatteo F. Vescovi <mfvescovi+gitlab@gmail.com>2020-10-20 18:40:00 +0300
commitbaffad0335f14252b3f59b275535c53971ed5543 (patch)
treed5788d630f7ed3a9d1ad4ccc1eb9a6e588400348 /cmake
parent83c77970aa110af35c5830b9be1f9cc053a1d821 (diff)
Homogenize FindPCRE2.cmake to other .cmake files
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindPCRE2.cmake26
1 files changed, 26 insertions, 0 deletions
diff --git a/cmake/FindPCRE2.cmake b/cmake/FindPCRE2.cmake
index cc27218c4..11f125069 100644
--- a/cmake/FindPCRE2.cmake
+++ b/cmake/FindPCRE2.cmake
@@ -1,3 +1,29 @@
+# Remmina - The GTK+ Remote Desktop Client
+#
+# Copyright (C) 2011 Marc-Andre Moreau
+# Copyright (C) 2014-2015 Antenore Gatta, Fabio Castelli, Giovanni Panozzo
+# Copyright (C) 2016-2020 Antenore Gatta, Giovanni Panozzo
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor,
+# Boston, MA 02110-1301, USA.
+
+include(FindPackageHandleStandardArgs)
+
+pkg_check_modules(PC_LIBPCRE2 libpcre2-8-0)
+
+
find_path(PCRE2_INCLUDE_DIR
NAMES pcre2.h
PATHS ../../../../libs