summaryrefslogtreecommitdiff
path: root/samples/photo/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'samples/photo/CMakeLists.txt')
-rw-r--r--samples/photo/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/samples/photo/CMakeLists.txt b/samples/photo/CMakeLists.txt
index ae4b2eb..a4edadc 100644
--- a/samples/photo/CMakeLists.txt
+++ b/samples/photo/CMakeLists.txt
@@ -1,7 +1,9 @@
-cmake_minimum_required(VERSION 2.8.4)
+cmake_minimum_required(VERSION 3.10.2)
project(photo)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
+set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
set(Boost_USE_MULTITHREADED ON)
find_package(Threads REQUIRED)