[Libreoffice-commits] core.git: external/libgltf
Michael Stahl
mstahl at redhat.com
Wed Jun 25 08:09:35 PDT 2014
external/libgltf/ExternalProject_libgltf.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 96ff10449464ae9d869fe21dccf193a6eef670c1
Author: Michael Stahl <mstahl at redhat.com>
Date: Wed Jun 25 17:05:11 2014 +0200
libgltf: try to fix the MSVC2010 build
Change-Id: I8dde439d19be45d5039904b6e917b17ca0ee4758
diff --git a/external/libgltf/ExternalProject_libgltf.mk b/external/libgltf/ExternalProject_libgltf.mk
index 9d043cd..46a74d4 100644
--- a/external/libgltf/ExternalProject_libgltf.mk
+++ b/external/libgltf/ExternalProject_libgltf.mk
@@ -44,7 +44,9 @@ $(call gb_ExternalProject_get_state_target,libgltf,build) :
msbuild.exe libgltf.vcxproj \
/p:Configuration=$(if $(MSVC_USE_DEBUG_RUNTIME),Debug,Release) \
$(if $(filter 110,$(VCVER)),/p:PlatformToolset=$(if $(filter 80,$(WINDOWS_SDK_VERSION)),v110,v110_xp) \
- /p:VisualStudioVersion=11.0) \
+ /p:VisualStudioVersion=11.0) \
+ $(if $(filter 100,$(VCVER)),/p:PlatformToolset=v100 \
+ /p:VisualStudioVersion=10.0) \
'/p:AdditionalIncludeDirectories=$(subst $(gb_SPACE),;,$(subst /,\,$(strip $(libgltf_AdditionalIncludes))))' \
/p:AdditionalLibraryDirectories=$(if $(SYSTEM_GLEW),,"$(subst /,\,$(call gb_UnpackedTarball_get_dir,glew))\lib\$(if $(MSVC_USE_DEBUG_RUNTIME),Debug,Release)\Win32") \
,build/win32)
More information about the Libreoffice-commits
mailing list