libgltf: turn off openMP usage without any detection code.
Change-Id: Ic823109b812a3d99d8462cf67cd9aa87094bba06
This commit is contained in:
parent
d582da903e
commit
42f2f47330
1
external/libgltf/UnpackedTarball_libgltf.mk
vendored
1
external/libgltf/UnpackedTarball_libgltf.mk
vendored
@ -18,6 +18,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,libgltf,1))
|
||||
$(eval $(call gb_UnpackedTarball_add_patches,libgltf,\
|
||||
external/libgltf/patches/include_path_glew.patch \
|
||||
external/libgltf/patches/include_path_freetype.patch \
|
||||
external/libgltf/patches/openmp-disable.patch \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
12
external/libgltf/patches/openmp-disable.patch
vendored
Normal file
12
external/libgltf/patches/openmp-disable.patch
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
--- libgltf/src/RenderScene.h
|
||||
+++ libgltf/src/RenderScene.h
|
||||
@@ -16,7 +16,8 @@
|
||||
#include "FPSCounter.h"
|
||||
#include "Timer.h"
|
||||
|
||||
-#define OPENMPENABLE 1
|
||||
+// Needs a configure / etc. detection to see if omp.h is on the system ...
|
||||
+#define OPENMPENABLE 0
|
||||
#if OPENMPENABLE
|
||||
#include <omp.h>
|
||||
#define WAVESIZE 4
|
Loading…
x
Reference in New Issue
Block a user