CMake auto populating nvcc_flags with values that prevent compilation

I’m building a library that uses PCL, which uses VTK.
VTK adds definitions such as the following to my project:

-DvtkDomainsChemistry_AUTOINIT=1(vtkDomainsChemistryOpenGL2)

Which is automatically picked up by cmake and appended to my nvcc_flags var, consequently nvcc does not compile correctly due to this.
Is there any way to override the behavior?

The exact line from my CMakeFiles/ROS.dir/src/ROS_generated_unpack.cu.o.cmake:79:102

set(nvcc_flags -m64;-DBOOST_ALL_DYN_LINK;-DvtkDomainsChemistry_AUTOINIT=1(vtkDomainsChemistryOpenGL2);-DvtkRenderingContext2D_AUTOINIT=1(vtkRenderingContextOpenGL2);-DvtkRenderingCore_AUTOINIT=3(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL2);-DvtkRenderingOpenGL2_AUTOINIT=1(vtkRenderingGL2PSOpenGL2);-DvtkRenderingVolume_AUTOINIT=1(vtkRenderingVolumeOpenGL2);-DROS_PACKAGE_NAME=“ROS”;-DROSCONSOLE_BACKEND_LOG4CXX;-DROS_EXPORTS) # list

I don’t know if you have control over this, but if you can find a way to modify the vtk-induced switches from this:

-DvtkDomainsChemistry_AUTOINIT=1(vtkDomainsChemistryOpenGL2)

to this:

-D"vtkDomainsChemistry_AUTOINIT=1(vtkDomainsChemistryOpenGL2)"

(for each) you may be able to get those through nvcc successfully.