diff options
Diffstat (limited to 'o3d/tests')
-rw-r--r-- | o3d/tests/tests.gyp | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/o3d/tests/tests.gyp b/o3d/tests/tests.gyp index fc3c5ce..a4cc2a9 100644 --- a/o3d/tests/tests.gyp +++ b/o3d/tests/tests.gyp @@ -166,22 +166,28 @@ 'editbin /SUBSYSTEM:CONSOLE $(OutDir)/$(TargetFileName)', }, ], - ['OS == "win" and (renderer == "d3d9" or cb_service == "d3d9")', + ['OS == "win" and renderer == "d3d9"', { 'sources': [ 'common/win/dxcapture.cc', ], + 'link_settings': { + 'libraries': [ + '"$(DXSDK_DIR)/Lib/x86/d3dx9.lib"', + 'd3d9.lib', + ], + }, + }, + ], + ['OS == "win" and (renderer == "d3d9" or cb_service == "d3d9")', + { 'include_dirs': [ '"$(DXSDK_DIR)/Include"', ], - 'msvs_settings': { - 'VCLinkerTool': { - 'AdditionalDependencies': [ - '"$(DXSDK_DIR)/Lib/x86/DxErr.lib"', - '"$(DXSDK_DIR)/Lib/x86/d3dx9.lib"', - 'd3d9.lib', - ], - }, + 'link_settings': { + 'libraries': [ + '"$(DXSDK_DIR)/Lib/x86/DxErr.lib"', + ], }, }, ], |