From 14bae86654b173bc94ce64ba1d9c8140d97ff14f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 4 Aug 2025 18:19:46 +0200 Subject: [PATCH] fix path --- CGAL_ImageIO/include/CGAL/SEP_to_ImageIO.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CGAL_ImageIO/include/CGAL/SEP_to_ImageIO.h b/CGAL_ImageIO/include/CGAL/SEP_to_ImageIO.h index 9dace36edc8..34f26203248 100644 --- a/CGAL_ImageIO/include/CGAL/SEP_to_ImageIO.h +++ b/CGAL_ImageIO/include/CGAL/SEP_to_ImageIO.h @@ -55,10 +55,8 @@ public: display_information(fileName, std::cout); std::filesystem::path headerFile(fileName); - std::filesystem::path dataFile(string_field("in")); + std::filesystem::path dataFile = std::filesystem::absolute(fileName).parent_path() / std::filesystem::path("in"); - dataFile = std::filesystem::absolute(dataFile); -# if(!load_data(dataFile.string())) { return; err_msg = "Invalid data file \"";