Update EGL samples (NB EGLSync_CUDAEvent_Interop link error in debug)

This commit is contained in:
Rob Armstrong
2024-12-12 10:43:28 -08:00
parent c7fe3b2f4c
commit df5ff58ca4
12 changed files with 127 additions and 1379 deletions

View File

@@ -0,0 +1,17 @@
find_path(EGL_INCLUDE_DIR
NAMES EGL/egl.h
PATHS /usr/include /usr/local/include
)
find_library(EGL_LIBRARY
NAMES EGL
PATHS /usr/lib /usr/local/lib
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(EGL DEFAULT_MSG EGL_LIBRARY EGL_INCLUDE_DIR)
if(EGL_FOUND)
set(EGL_LIBRARIES ${EGL_LIBRARY})
set(EGL_INCLUDE_DIRS ${EGL_INCLUDE_DIR})
endif()