From 3e0789b3d329fb1a48f1774e55d0711179efc47d Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Tue, 20 Jan 2015 08:11:20 -0500 Subject: [PATCH] CMakeLists.txt formatting. --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 48861a2..e93e568 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ if(COMMAND cmake_policy) endif(COMMAND cmake_policy) ### General Package stuff -project( tmux-mem-cpu-load ) +project(tmux-mem-cpu-load) set(tmux-mem-cpu-load_VERSION_MAJOR 2) set(tmux-mem-cpu-load_VERSION_MINOR 3) set(tmux-mem-cpu-load_VERSION_PATCH 0) @@ -36,12 +36,12 @@ check_cxx_compiler_flag("-std=c++11" COMPILER_SUPPORTS_CXX11) check_cxx_compiler_flag("-std=c++0x" COMPILER_SUPPORTS_CXX0X) if(COMPILER_SUPPORTS_CXX11) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") elseif(COMPILER_SUPPORTS_CXX0X) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") else() - message(FATAL_ERROR " -Compiler ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION} has no C++11 support.") + message(FATAL_ERROR +"Compiler ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION} has no C++11 support.") endif() # generate header file to handle version