From: heister Date: Mon, 11 Mar 2013 00:07:54 +0000 (+0000) Subject: fix cmake file for step-42 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=817bf35ba6bb82614d2f6eafb0e592f8283bd3ee;p=dealii-svn.git fix cmake file for step-42 git-svn-id: https://svn.dealii.org/trunk@28847 0785d39b-7218-0410-832d-ea1e28bc413d --- 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()