summaryrefslogtreecommitdiffstats
path: root/src/openthreads-1-fixcmake.patch
blob: 989b3afe30666434d6c4d81d2aea12126dca98cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
This file is part of MXE.
See index.html for further information.

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)