vcpkg/ports/openxr-loader/0004-fix-fatal-errorC1189.patch
2019-07-24 10:33:01 -07:00

14 lines
522 B
Diff

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)