From 0b42d104870297dd3610f74246bb25658b4238db Mon Sep 17 00:00:00 2001
From: Antoine Lavenant <Antoine.Lavenant@ign.fr>
Date: Wed, 20 Dec 2023 11:31:54 +0100
Subject: [PATCH] update CMakeList

---
 README.md                                 | 2 +-
 src/filter_grid_decimation/CMakeLists.txt | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 4bcda8e..cda4261 100755
--- a/README.md
+++ b/README.md
@@ -64,7 +64,7 @@ The code should respect the documentation purpose by pdal : [build a pdal plugin
 The CMakeList should contains : 
 
 ```
-file( GLOB_RECURSE GD_SRCS ${CMAKE_SOURCE_DIR} src/my_new_PI/*.*)
+file( GLOB_RECURSE GD_SRCS ${CMAKE_SOURCE_DIR} *)
 
 PDAL_CREATE_PLUGIN(
     TYPE filter
diff --git a/src/filter_grid_decimation/CMakeLists.txt b/src/filter_grid_decimation/CMakeLists.txt
index 2fd6689..2e358ca 100755
--- a/src/filter_grid_decimation/CMakeLists.txt
+++ b/src/filter_grid_decimation/CMakeLists.txt
@@ -1,5 +1,7 @@
 
-file( GLOB_RECURSE GD_SRCS ${CMAKE_SOURCE_DIR} src/filter_grid_decimation/*.*)
+file( GLOB_RECURSE GD_SRCS ${CMAKE_SOURCE_DIR} *)
+
+message("GD_SRCS ${GD_SRCS}")
 
 PDAL_CREATE_PLUGIN(
     TYPE filter