diff options
author | Hans-Kristian Arntzen <post@arntzen-software.no> | 2019-03-07 14:36:16 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <post@arntzen-software.no> | 2019-03-07 14:36:16 +0300 |
commit | 074f765a83b6f98b91d419bd98c3be7d019d10a7 (patch) | |
tree | b8969b271f407b07d183e4b79a42b05ee22ab4fc /tests-other | |
parent | 79d995caab58f66a592cf01641accdd6ea3eceb5 (diff) |
Explicitly pass down paths to glslang/spirv-tools.
Windows and CMake really cannot get along with %PATH%, sigh ...
Diffstat (limited to 'tests-other')
-rw-r--r-- | tests-other/c_api_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests-other/c_api_test.c b/tests-other/c_api_test.c index 98109178..2d643c7e 100644 --- a/tests-other/c_api_test.c +++ b/tests-other/c_api_test.c @@ -1,5 +1,9 @@ /* Smoke test for the C API. */ +#ifdef _MSC_VER +#define _CRT_SECURE_NO_WARNINGS +#endif + #include <spirv_cross_c.h> #include <stdlib.h> #include <stdio.h> |