From c471baef7a8e1fd2076cd1c7bb57d9f1c9f2a079 Mon Sep 17 00:00:00 2001
From: Nicolas Pope <nwpope@utu.fi>
Date: Wed, 8 May 2019 07:39:16 +0100
Subject: [PATCH] Fix for pcl definitions corruption

---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c9df3a808..f678b0a4a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,6 +37,7 @@ set(HAVE_OPENCV TRUE)
 
 if (PCL_FOUND)
 	set(HAVE_PCL TRUE)
+	string(REPLACE "\" \"" "" PCL_DEFINITIONS ${PCL_DEFINITIONS})
 endif()
 
 # Readline library is not required on Windows
-- 
GitLab