From cec0cf78a439bd8bb3ec8c7e74766f9029a3e1e3 Mon Sep 17 00:00:00 2001 From: Adrian Graber Date: Sun, 4 Jul 2021 16:51:20 +0200 Subject: [PATCH] Fix double "TARGET" typo --- cmake/librw-config.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/librw-config.cmake.in b/cmake/librw-config.cmake.in index 519e63e..08dfb16 100644 --- a/cmake/librw-config.cmake.in +++ b/cmake/librw-config.cmake.in @@ -10,7 +10,7 @@ if(LIBRW_PLATFORM_GL3) set(OpenGL_GL_PREFERENCE GLVND) find_package(OpenGL) - if(NOT TARGET TARGET OpenGL::OpenGL AND NOT TARGET OpenGL::EGL AND NOT TARGET OpenGL::GL) + if(NOT TARGET OpenGL::OpenGL AND NOT TARGET OpenGL::EGL AND NOT TARGET OpenGL::GL) message(FATAL_ERROR ) endif()