From bd46c9f44b29c10c0ad72da1b88af7470846af80 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Wed, 22 Jul 2015 16:47:55 +0200
Subject: [PATCH] [Build]   Use dune_symlink_to_source_files() correctly

---
 src/CMakeLists.txt | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0a7cdea9..857c607e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -21,10 +21,11 @@ set(SOURCE_FILES
 )
 
 file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/sand-wedge-data")
-dune_symlink_to_source_files("sand-wedge-data/boundaryconditions.py")
-dune_symlink_to_source_files("sand-wedge-data/parset.cfg")
-dune_symlink_to_source_files("sand-wedge-data/parset-2D.cfg")
-dune_symlink_to_source_files("sand-wedge-data/parset-3D.cfg")
+dune_symlink_to_source_files(FILES
+  "sand-wedge-data/boundaryconditions.py"
+  "sand-wedge-data/parset.cfg"
+  "sand-wedge-data/parset-2D.cfg"
+  "sand-wedge-data/parset-3D.cfg")
 
 foreach(_dim 2 3)
   set(_target sand-wedge-${_dim}D)
-- 
GitLab