From c7ef96601bd112c15e8409dc7f24dbd6d5ddd4d7 Mon Sep 17 00:00:00 2001 From: James Date: Fri, 28 Jul 2017 13:40:39 -0400 Subject: [PATCH] Commenting in rendering CMakeLists. --- vtkm/rendering/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vtkm/rendering/CMakeLists.txt b/vtkm/rendering/CMakeLists.txt index 3ae934975..5dcf61b50 100644 --- a/vtkm/rendering/CMakeLists.txt +++ b/vtkm/rendering/CMakeLists.txt @@ -166,12 +166,17 @@ vtkm_library( WRAP_FOR_CUDA ${device_sources} ) +# EGL Libs are added here to ensure propper linking when statically compiling. +# This is safe to do even when not using EGL as the values will then be empty. target_link_libraries(vtkm_rendering PUBLIC vtkm_cont PRIVATE ${VTKm_OPENGL_LIBRARIES} ${VTKm_BACKEND_LIBRARIES} ${EGL_LIBRARIES} ) + +# EGL Dirs are added here to ensure propper linking when statically compiling. +# This is safe to do even when not using EGL as the values will then be empty. target_include_directories(vtkm_rendering PRIVATE ${VTKm_OPENGL_INCLUDE_DIRS} ${VTKm_BACKEND_INCLUDE_DIRS}