On Mon, Oct 20, 2014 at 15:15:59 +0000, Su, Simon M CTR USARMY ARL (US) wrote: > I ran cmake with > > -DPV_EXTRA_CMAKE_ARGS:STRING="-DModule_vtkIOXdmf3:BOOL=ON > -DBoost_NO_BOOST_CMAKE:BOOL=ON" > > and check it with ccmake. Looks like -DModule_vtkIOXdmf3:BOOL=ON > -DBoost_NO_BOOST_CMAKE:BOOL=ON made it into the variable > PV_EXTRA_CMAKE_ARGS > > It appears :STRING does the trick.
Yep. This is a CMake parsing bug; the regular expression for this is too greedy (it allows '=' in the variable name). Compare: > -DPV_EXTRA_CMAKE_ARGS=-DModule_vtkIOXdmf3:BOOL=ON > -DBoost_NO_BOOST_CMAKE:BOOL=ON |-------------------------------------| |--| |-------------------------------| variable type value versus: > -DPV_EXTRA_CMAKE_ARGS:STRING=-DModule_vtkIOXdmf3:BOOL=ON > -DBoost_NO_BOOST_CMAKE:BOOL=ON |-----------------| |----| |--------------------------------------------------------| variable type value this works: > -DSOME_PATH=C:/path/to/file |-------| |-------------| variable value because paths with '=' are very rare: > -DSOME_PATH=C:/path/to/file/with/=/sign |---------| |-----------------| |---| variable type value --Ben _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview