fix after libgsf update, just trust pkg-config and don't play games
with the output wrt include dirs
This commit is contained in:
parent
dc7b864afe
commit
ed5cbe2da5
19
converters/wv2/patches/patch-cmake_FindLIBGSF_cmake
Normal file
19
converters/wv2/patches/patch-cmake_FindLIBGSF_cmake
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-cmake_FindLIBGSF_cmake,v 1.1 2013/03/10 09:42:32 espie Exp $
|
||||
--- cmake/FindLIBGSF.cmake.orig Sun Mar 10 10:21:37 2013
|
||||
+++ cmake/FindLIBGSF.cmake Sun Mar 10 10:41:53 2013
|
||||
@@ -28,14 +28,8 @@ IF (NOT WIN32)
|
||||
FIND_PACKAGE(PkgConfig)
|
||||
PKG_CHECK_MODULES(PC_LIBGSF libgsf-1)
|
||||
SET(LIBGSF_DEFINITIONS ${PC_LIBGSF_CFLAGS_OTHER})
|
||||
+ SET(LIBGSF_INCLUDE_DIR ${PC_LIBGSF_INCLUDE_DIRS})
|
||||
ENDIF (NOT WIN32)
|
||||
-
|
||||
-FIND_PATH(LIBGSF_INCLUDE_DIR gsf/gsf.h
|
||||
- HINTS
|
||||
- ${PC_LIBGSF_INCLUDEDIR}
|
||||
- ${PC_LIBGSF_INCLUDE_DIRS}
|
||||
- PATH_SUFFIXES libgsf-1
|
||||
- )
|
||||
|
||||
FIND_LIBRARY(LIBGSF_LIBRARIES NAMES gsf-1 libgsf-1
|
||||
HINTS
|
Loading…
Reference in New Issue
Block a user