From 141f39341f10c29a3f9e2190186eb14e39cb6cf3 Mon Sep 17 00:00:00 2001
From: Guilhem Saurel <guilhem.saurel@laas.fr>
Date: Mon, 5 Sep 2022 12:48:05 +0200
Subject: [PATCH] fix configure

---
 tests/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 6c2f19d9..88b9da12 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,7 +1,8 @@
 # Copyright 2010, 2020, François Bleibel, Olivier Stasse, Guilhem Saurel, JRL,
 # CNRS/AIST, LAAS-CNRS
 
-config_files_cmake(test-paths.h)
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test-paths.h.in
+               ${CMAKE_CURRENT_BINARY_DIR}/test-paths.h)
 
 # Make Boost.Test generates the main function in test cases.
 add_definitions(-DBOOST_TEST_DYN_LINK -DBOOST_TEST_MAIN)
-- 
GitLab