summarylogtreecommitdiffstats
path: root/cmake_cxx_std_14.patch
blob: 252bcf62ef7ecf469c43852eb2425f52a4cd301f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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