From 817bf35ba6bb82614d2f6eafb0e592f8283bd3ee Mon Sep 17 00:00:00 2001 From: heister Date: Mon, 11 Mar 2013 00:07:54 +0000 Subject: [PATCH] fix cmake file for step-42 git-svn-id: https://svn.dealii.org/trunk@28847 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-42/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/examples/step-42/CMakeLists.txt b/deal.II/examples/step-42/CMakeLists.txt index be2cd897e6..32525e40db 100644 --- a/deal.II/examples/step-42/CMakeLists.txt +++ b/deal.II/examples/step-42/CMakeLists.txt @@ -54,8 +54,8 @@ PROJECT(${TARGET}) # Workaround: Enable -std=c++0x for Clang as std::unique_ptr is not # standardized in C++03 # -IF(CMAKE_CXX_COMPILER_ID matches Clang) - SET(CMAKE_CXX_FLAGS "-std=c++0x ${CMAKE_CXX_FLAGS}) +IF(CMAKE_CXX_COMPILER_ID MATCHES Clang) + SET(CMAKE_CXX_FLAGS "-std=c++0x ${CMAKE_CXX_FLAGS}") ENDIF() DEAL_II_INVOKE_AUTOPILOT() -- 2.39.5