blob: 9ae5208f797216ab6606803d67e17498646254ad (
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
51
52
53
54
55
56
57
58
59
|
This file is part of MXE.
See index.html for further information.
Contains ad hoc patches for cross building.
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Rashad Kanavath <rashad.kanavath@c-s.fr>
Date: Mon, 11 Jan 2016 15:33:57 +1100
Subject: [PATCH] only build openthreads
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1111111..2222222 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1046,16 +1046,7 @@ ENDIF()
# 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 @@ ENDIF()
# 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)
|