diff --git a/modules/FindEGL.cmake b/modules/FindEGL.cmake index d38ccbf52..b45a09f10 100644 --- a/modules/FindEGL.cmake +++ b/modules/FindEGL.cmake @@ -61,8 +61,6 @@ find_package_handle_standard_args(EGL DEFAULT_MSG EGL_INCLUDE_DIR) if(NOT TARGET EGL::EGL) - add_library(EGL::EGL UNKNOWN IMPORTED) - # Work around BUGGY framework support on OSX # http://public.kitware.com/pipermail/cmake/2016-April/063179.html if(APPLE AND ${EGL_LIBRARY} MATCHES "\\.framework$")