File: find_path-GLIB_CONFIG_DIR.diff

package info (click to toggle)
zpspell 0.4.3-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch, wheezy
  • size: 120 kB
  • ctags: 35
  • sloc: cpp: 290; xml: 106; makefile: 18
file content (19 lines) | stat: -rw-r--r-- 675 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Subject: zpspell: FTBFS: CMake Error: The following variables are used
 in this project, but they are set to NOTFOUND.

* CMakeLists.txt: add path to find_path GLIB_CONFIG_DIR

Bug-Debian: http://bugs.debian.org/652208
Author: HIGUCHI Daisuke (VDR dai) <dai@debian.org>

--- zpspell-0.4.3/CMakeLists.txt.orig	2012-01-07 21:49:19.000000000 +0900
+++ zpspell-0.4.3/CMakeLists.txt	2012-01-07 22:00:41.000000000 +0900
@@ -74,6 +74,8 @@ find_library(GLIB2_LIBRARY NAMES glib-2.
 )
 # GLIB_CONFIG
 find_path(GLIB_CONFIG_DIR glibconfig.h
+   ${_glibLinkDir}/glib-2.0/include
+   ${_glibLinkDir}/glib-2.0
    /usr/lib/glib-2.0/include
    /usr/lib/glib-2.0
    /usr/include/glib-2.0