diff --git a/CMakeLists.txt b/CMakeLists.txt
index c9df3a80847aac400ebca7725a98c3815a8cc889..f678b0a4a6ea6f92e288d34aae6407b9966f0bc0 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