ports/graphics/dspdfviewer/files/patch-cmake_compiler__clang.cmake
Santhosh Raju 30db07f794 graphics/dspdfviewer: Unbreak the build for latest boost library.
Force using c++14 standard for clang when compiling with boost headers.
2022-08-22 02:38:09 +02:00

11 lines
298 B
CMake

--- cmake/compiler_clang.cmake.orig 2022-08-22 00:23:26 UTC
+++ cmake/compiler_clang.cmake
@@ -1,7 +1,7 @@
# CMake fragment
# Clang
-add_definitions("-std=c++11")
+add_definitions("-std=c++14")
# Turn on a lot of warnings, hopefully helping with code quality.
add_definitions(-Weverything)