Skip to content

Commit

Permalink
CMake uses correct target
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed May 21, 2017
1 parent 577063d commit 386ba92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ cmake_minimum_required (VERSION 2.6)
project (travis_cmake_gcc_cpp11)
add_executable(travis_cmake_gcc_cpp11 main.cpp)

set_property(TARGET travis_cmake_gcc_cpp98 PROPERTY CXX_STANDARD 11)
set_property(TARGET travis_cmake_gcc_cpp98 PROPERTY CXX_STANDARD_REQUIRED ON)
set_property(TARGET travis_cmake_gcc_cpp11 PROPERTY CXX_STANDARD 11)
set_property(TARGET travis_cmake_gcc_cpp11 PROPERTY CXX_STANDARD_REQUIRED ON)

0 comments on commit 386ba92

Please sign in to comment.