]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Bugfix: Generate options for test subprojects as a list
authorMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 17 Jul 2014 07:34:24 +0000 (07:34 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 17 Jul 2014 07:34:24 +0000 (07:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@33187 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/tests/CMakeLists.txt

index 56711611e556a2ec156f45514f2e6bfe198f5096..a42a1f6bdad3dc433ea44bf7e0944fe871d9ab99 100644 (file)
@@ -54,9 +54,9 @@ FOREACH(_var
   DIFF_DIR NUMDIFF_DIR TEST_DIFF TEST_PICKUP_REGEX TEST_TIME_LIMIT
   MPIEXEC MPIEXEC_NUMPROC_FLAG MPIEXEC_PREFLAGS MPIEXEC_POSTFLAGS
   )
-  ADD_FLAGS(_options "-U${_var}")
+  LIST(APPEND _options "-U${_var}")
   IF(DEFINED ${_var})
-    ADD_FLAGS(_options "-D${_var}=${${_var}}")
+    LIST(APPEND _options "-D${_var}=${${_var}}")
   ENDIF()
 ENDFOREACH()
 

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.