add_oiv_executable( CustomNodePyramid
  CustomNodePyramid.cxx
  CustomNodeBase.cxx
  CustomNodeBase.h
  CustomNodeGLCallback.cxx
  CustomNodeGLCallback.h
  CustomNodeOpenGLCore.cxx
  CustomNodeOpenGLCore.h
  CustomNodeOpenGLLegacy.cxx
  CustomNodeOpenGLLegacy.h
  CustomNodeOIV.cxx
  CustomNodeOIV.h
  pyramid.cxx
  pyramid.iv
  shaders/CustomNodeCore.frag
  shaders/CustomNodeCore.vert
  shaders/CustomNodeLegacy.frag
  shaders/CustomNodeLegacy.vert
)

if(APPLE)
  target_link_libraries(CustomNodePyramid ${OpenInventorGLEW_LIBRARIES})
endif()
