diff options
author | Rashad Kanavath <rashad.kanavath@c-s.fr> | 2015-12-03 13:22:54 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-12-03 13:22:54 (GMT) |
commit | 8d05f73f95a3027c14bc870134bc2d888b307040 (patch) | |
tree | 95ceeacd43c3da436c16e8f40699ec53427e9bf1 /src/openthreads-1-fixcmake.patch | |
parent | b24fe6117a029980855ec490139ab0b5a7d78cd5 (diff) | |
download | mxe-8d05f73f95a3027c14bc870134bc2d888b307040.zip mxe-8d05f73f95a3027c14bc870134bc2d888b307040.tar.gz mxe-8d05f73f95a3027c14bc870134bc2d888b307040.tar.bz2 |
add package openthreads (using openscenegraph source)
Diffstat (limited to 'src/openthreads-1-fixcmake.patch')
-rw-r--r-- | src/openthreads-1-fixcmake.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/openthreads-1-fixcmake.patch b/src/openthreads-1-fixcmake.patch new file mode 100644 index 0000000..3315d27 --- /dev/null +++ b/src/openthreads-1-fixcmake.patch @@ -0,0 +1,47 @@ +diff -burN OpenSceneGraph-3.4.0.orig/CMakeLists.txt OpenSceneGraph-3.4.0/CMakeLists.txt +--- OpenSceneGraph-3.4.0.orig/CMakeLists.txt 2015-08-12 08:38:59.000000000 +0200 ++++ OpenSceneGraph-3.4.0/CMakeLists.txt 2015-12-02 16:42:16.565976939 +0100 +@@ -1046,16 +1046,7 @@ + + + # OSG Core +-ADD_SUBDIRECTORY(src) +- +-IF (BUILD_OSG_APPLICATIONS AND NOT ANDROID) +- ADD_SUBDIRECTORY(applications) +-ENDIF() +- +-IF (BUILD_OSG_EXAMPLES) +- ADD_SUBDIRECTORY(examples) +-ENDIF() +- ++ADD_SUBDIRECTORY(src/OpenThreads) + + IF(APPLE AND NOT ANDROID) + +@@ -1251,24 +1242,7 @@ + + # Generate pkg-config configuration files + +-SET(PKGCONFIG_FILES +- openscenegraph +- openscenegraph-osg +- openscenegraph-osgDB +- openscenegraph-osgFX +- openscenegraph-osgGA +- openscenegraph-osgParticle +- openscenegraph-osgSim +- openscenegraph-osgText +- openscenegraph-osgUtil +- openscenegraph-osgTerrain +- openscenegraph-osgManipulator +- openscenegraph-osgViewer +- openscenegraph-osgWidget +- openscenegraph-osgShadow +- openscenegraph-osgAnimation +- openscenegraph-osgVolume +-) ++SET(PKGCONFIG_FILES) + + IF(QT4_FOUND OR Qt5Widgets_FOUND ) + SET(PKGCONFIG_FILES ${PKGCONFIG_FILES} openscenegraph-osgQt) |