diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2018-03-21 22:26:52 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2018-03-21 22:26:52 +0800 |
commit | 79f06a755dd1d34ea2095c90b06169db8e9f0e4a (patch) | |
tree | 554d741cbd7f67b07260c62eda452758fc098a0b /graphics/osg | |
parent | 6948868a05ffdbed69f2f203df219ff72ec953e7 (diff) | |
download | freebsd-ports-gnome-79f06a755dd1d34ea2095c90b06169db8e9f0e4a.tar.gz freebsd-ports-gnome-79f06a755dd1d34ea2095c90b06169db8e9f0e4a.tar.zst freebsd-ports-gnome-79f06a755dd1d34ea2095c90b06169db8e9f0e4a.zip |
- Fix build in presence of older version of osg
PR: 226681
Reported by: pkubaj@anongoth.pl
Diffstat (limited to 'graphics/osg')
-rw-r--r-- | graphics/osg/files/patch-CMakeLists.txt | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/graphics/osg/files/patch-CMakeLists.txt b/graphics/osg/files/patch-CMakeLists.txt index f1df43923067..d495019fab71 100644 --- a/graphics/osg/files/patch-CMakeLists.txt +++ b/graphics/osg/files/patch-CMakeLists.txt @@ -1,6 +1,16 @@ ---- CMakeLists.txt.orig 2011-07-31 11:50:34.000000000 +0400 -+++ CMakeLists.txt 2012-03-05 05:54:52.485029323 +0400 -@@ -588,7 +588,7 @@ +--- CMakeLists.txt.orig 2017-08-28 16:50:49 UTC ++++ CMakeLists.txt +@@ -252,6 +252,9 @@ ENDIF() + + INCLUDE_DIRECTORIES( + ${OpenSceneGraph_SOURCE_DIR}/include ++) ++ ++INCLUDE_DIRECTORIES(SYSTEM + ${OPENGL_INCLUDE_DIR} + ) + +@@ -846,7 +849,7 @@ ENDIF() IF(UNIX AND NOT WIN32 AND NOT APPLE) IF(CMAKE_SIZEOF_VOID_P MATCHES "8") @@ -9,7 +19,7 @@ MARK_AS_ADVANCED(LIB_POSTFIX) ENDIF() ENDIF() -@@ -972,7 +972,7 @@ +@@ -1275,7 +1278,7 @@ FOREACH(PKGCONFIG_FILE ${PKGCONFIG_FILES ${PROJECT_BINARY_DIR}/packaging/pkgconfig/${PKGCONFIG_FILE}.pc @ONLY ) |