mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01:00
[Openxr-loader] Fix fatal error C1189 (#7376)
This commit is contained in:
parent
1b1911a070
commit
facd998c44
13
ports/openxr-loader/0004-fix-fatal-errorC1189.patch
Normal file
13
ports/openxr-loader/0004-fix-fatal-errorC1189.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/src/loader/CMakeLists.txt b/src/loader/CMakeLists.txt
|
||||||
|
index 92985a5..b265091 100644
|
||||||
|
--- a/src/loader/CMakeLists.txt
|
||||||
|
+++ b/src/loader/CMakeLists.txt
|
||||||
|
@@ -134,7 +134,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
target_link_libraries(${LOADER_NAME} shlwapi)
|
||||||
|
- target_compile_options(${LOADER_NAME} PRIVATE)
|
||||||
|
+ target_compile_options(${LOADER_NAME} PRIVATE /std:c++17)
|
||||||
|
generate_export_header(${LOADER_NAME})
|
||||||
|
# set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS false)
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
Source: openxr-loader
|
Source: openxr-loader
|
||||||
Version: 0.90.1
|
Version: 0.90.1-1
|
||||||
Description: Khronos API for abstracting VR/MR/AR hardware
|
Description: Khronos API for abstracting VR/MR/AR hardware
|
||||||
|
|
||||||
Feature: vulkan
|
Feature: vulkan
|
||||||
|
@ -22,6 +22,7 @@ vcpkg_from_github(
|
|||||||
0002-fix-linux-pkgconfig-dependency.patch
|
0002-fix-linux-pkgconfig-dependency.patch
|
||||||
# Python < 3.6 doesn't allow a WindowsPath object to act as a pathlike in os.path functions
|
# Python < 3.6 doesn't allow a WindowsPath object to act as a pathlike in os.path functions
|
||||||
0003-windows-path-python-fix.patch
|
0003-windows-path-python-fix.patch
|
||||||
|
0004-fix-fatal-errorC1189.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
# Weird behavior inside the OpenXR loader. On Windows they force shared libraries to use static crt, and
|
# Weird behavior inside the OpenXR loader. On Windows they force shared libraries to use static crt, and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user