We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 652c5e0 commit 2a0c991Copy full SHA for 2a0c991
src/tests/list/CMakeLists.txt
@@ -34,7 +34,9 @@ if(VulkanHeaders_FOUND)
34
endif()
35
36
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
37
- target_compile_options(runtime_list PRIVATE /Zc:wchar_t /Zc:forScope /W4 /WX)
+ if(MSVC)
38
+ target_compile_options(runtime_list PRIVATE /Zc:wchar_t /Zc:forScope /W4 /WX)
39
+ endif()
40
target_link_libraries(runtime_list openxr_loader opengl32)
41
42
src/tests/list/list.cpp
@@ -30,6 +30,13 @@
30
#include <inttypes.h>
31
#include <vector>
32
33
+#ifndef PRIx32
+#define PRIx32 "x"
+#endif
+#ifndef PRIx64
+#define PRIx64 "x"
+
// Struct that does book keeping of what a
// OpenXR application need to keep track of.
struct Program {
0 commit comments