aur/cmake_cxx_std_14.patch
Sven-Hendrik Haase 0b0a921ad6 upgpkg: 2.4.0-6
2022-11-24 00:05:23 +00:00

12 lines
392 B
Diff

diff --git a/src/cmake/Helpers.cmake b/src/cmake/Helpers.cmake
index 9c6f192a9..6a2084460 100644
--- a/src/cmake/Helpers.cmake
+++ b/src/cmake/Helpers.cmake
@@ -85,6 +85,7 @@ function(alicevision_add_library library_name)
RUNTIME
DESTINATION ${CMAKE_INSTALL_BINDIR}
)
+ target_compile_features(${library_name} PUBLIC cxx_std_14)
endfunction()
# Add interface function