build issues with examples
With master
at v1.2.0-135-g0059351e, I am getting the following build errors:
FAILED: : && /usr/bin/c++ -g -rdynamic examples/isosurface/CMakeFiles/IsosurfaceUniformGrid_SERIAL.dir/IsosurfaceUniformGrid.cxx.o -o examples/isosurface/IsosurfaceUniformGrid_SERIAL -Wl,-rpath,/home/utkarsh/Kitware/VTK-M/vtk-m-build/lib:/usr/lib/openmpi/lib lib/libvtkm_cont-1.2.so.1.2 /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libGLEW.so /usr/lib/x86_64-linux-gnu/libglut.so /usr/lib/openmpi/lib/libmpi.so /usr/lib/openmpi/lib/libmpi_cxx.so /usr/lib/openmpi/lib/libmpi.so /usr/lib/openmpi/lib/libmpi_cxx.so && :
examples/isosurface/CMakeFiles/IsosurfaceUniformGrid_SERIAL.dir/IsosurfaceUniformGrid.cxx.o: In function `displayCall()':
/home/utkarsh/Kitware/VTK-M/vtk-m/examples/isosurface/IsosurfaceUniformGrid.cxx:177: undefined reference to `gluPerspective'
/home/utkarsh/Kitware/VTK-M/vtk-m/examples/isosurface/IsosurfaceUniformGrid.cxx:181: undefined reference to `gluLookAt'
My cmake flags are as follows:
This started happening since last week, hence suspect is related to the CMake refactor.
cmake version: 3.10.2