From 78881b769c55ae8edb945338a26cd4bf50b5ab8b Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Tue, 8 Oct 2019 13:29:27 +0200 Subject: [PATCH] CMake: fix GLUT library link use GLUT_LIBRARIES instead of GLUT::GLUT Change-Id: I92af90e09e00b01bd050ebeb8e9003b14c7dc144 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a8778f1..8219cf30 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -467,12 +467,12 @@ if(WEBP_BUILD_VWEBP) target_link_libraries(vwebp ${OPENGL_LIBRARIES} exampleutil - GLUT::GLUT + ${GLUT_glut_LIBRARY} imageioutil webp webpdemux) target_include_directories(vwebp - PRIVATE GLUT::GLUT + PRIVATE ${GLUT_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/src ${OPENGL_INCLUDE_DIR}) install(TARGETS vwebp RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})