Skip to content

Commit 2d419e0

Browse files
author
Ben Polidore
committed
more idiomatic c++11 enablement
1 parent 11d52df commit 2d419e0

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
cmake_minimum_required(VERSION 3.0)
22

33
project(DFG)
4-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
54

65
set(Boost_USE_STATIC_LIBS OFF)
76
set(Boost_USE_MULTITHREADED ON)

test/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cmake_minimum_required(VERSION 3.0)
22

33
add_executable(Test dfg.bootstrap.cpp dfg.spec.cpp)
4+
set_property(TARGET Test PROPERTY CXX_STANDARD 11)
45
target_link_libraries(Test ${Boost_LIBRARIES})

0 commit comments

Comments
 (0)