]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix cmake file for step-42
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 11 Mar 2013 00:07:54 +0000 (00:07 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 11 Mar 2013 00:07:54 +0000 (00:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@28847 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-42/CMakeLists.txt

index be2cd897e62a7ce1ce4a2537c62b60c80cb9f077..32525e40dbf8dc3872651c4ac7d0e3140302a54b 100644 (file)
@@ -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()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.