From 929f449cfe08df059987fae633a7607deea3a283 Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Wed, 14 Mar 2018 13:52:28 +0100
Subject: [PATCH] Fix destination path of config file

---
 doc/doxygen/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/doxygen/CMakeLists.txt b/doc/doxygen/CMakeLists.txt
index fe117439c..a6d3f9889 100644
--- a/doc/doxygen/CMakeLists.txt
+++ b/doc/doxygen/CMakeLists.txt
@@ -40,7 +40,7 @@ if(DOXYGEN_EXECUTABLE)
     if(CHAMELEON_SCHED_STARPU)
 
         configure_file("conf-dev-starpu.dox.in"
-                       "chameleon-dev.dox"
+                       "${CMAKE_CURRENT_BINARY_DIR}/chameleon-dev.dox"
                        @ONLY)
 #        configure_file("conf-usr-starpu.dox.in"
 #                       "chameleon-usr.dox"
@@ -49,7 +49,7 @@ if(DOXYGEN_EXECUTABLE)
     elseif(CHAMELEON_SCHED_QUARK)
 
         configure_file("conf-dev-quark.dox.in"
-                       "chameleon-dev.dox"
+                       "${CMAKE_CURRENT_BINARY_DIR}/chameleon-dev.dox"
                         @ONLY)
 #        configure_file("conf-usr-quark.dox.in"
 #                       "chameleon-usr.dox"
-- 
GitLab