diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-01-06 04:42:44 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-01-29 08:09:37 +0100 |
commit | 03a5d0472fb9012c0b586a07953a843f8e5374f9 (patch) | |
tree | 2314cc7c9b27d4b39293fe1a1292562640118a44 /RepositoryExternal.mk | |
parent | 01a56100a41da49ed5b589b106d592f04eafa666 (diff) |
fix windows build of glew
Change-Id: I8aab94aefd737195a26696635f52f754764ea1b4
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index f8ce0a70ba6c..7e8bb353bb05 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -139,9 +139,15 @@ $(call gb_LinkTarget_set_include,$(1),\ $$(INCLUDE) \ ) +ifeq ($(COM),MSC) +$(call gb_LinkTarget_add_libs,$(1),\ + $(call gb_UnpackedTarball_get_dir,glew)/lib/$(if $(MSVC_USE_DEBUG_RUNTIME),Debug/Win32/glew32d.lib,Release/Win32/glew32.lib) \ +) +else $(call gb_LinkTarget_add_libs,$(1),\ -L$(call gb_UnpackedTarball_get_dir,glew)/lib/ -lGLEW \ ) +endif endef |