Atri Bhattacharya
e515fd9d20
Add ade-use-cxx14-standard.patch: Enforce CMAKE_CXX_STANDARD=14 to allow building tests with gtest >= 1.14.0 (gh#opencv/ade#44). OBS-URL: https://build.opensuse.org/request/show/1170110 OBS-URL: https://build.opensuse.org/package/show/science/ade?expand=0&rev=13
18 lines
626 B
Diff
18 lines
626 B
Diff
---
|
|
CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: ade-0.1.2d/CMakeLists.txt
|
|
===================================================================
|
|
--- ade-0.1.2d.orig/CMakeLists.txt
|
|
+++ ade-0.1.2d/CMakeLists.txt
|
|
@@ -18,7 +18,7 @@ option(FORCE_ADE_ASSERTS "Always e
|
|
option(BUILD_ADE_DOCUMENTATION "Build doxygen documentation" OFF)
|
|
option(BUILD_WITH_STATIC_CRT "Build with static multi-threaded C Runtime (MS Windows/Visual Studio only)" OFF)
|
|
|
|
-set(CMAKE_CXX_STANDARD 11)
|
|
+set(CMAKE_CXX_STANDARD 14)
|
|
|
|
# TODO: this is horrible hack, we must follow cmake
|
|
# build/install policy
|