mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
CMake: fix GLUT library link
use GLUT_LIBRARIES instead of GLUT::GLUT Change-Id: I92af90e09e00b01bd050ebeb8e9003b14c7dc144
This commit is contained in:
parent
9f750f7a06
commit
78881b769c
@ -467,12 +467,12 @@ if(WEBP_BUILD_VWEBP)
|
|||||||
target_link_libraries(vwebp
|
target_link_libraries(vwebp
|
||||||
${OPENGL_LIBRARIES}
|
${OPENGL_LIBRARIES}
|
||||||
exampleutil
|
exampleutil
|
||||||
GLUT::GLUT
|
${GLUT_glut_LIBRARY}
|
||||||
imageioutil
|
imageioutil
|
||||||
webp
|
webp
|
||||||
webpdemux)
|
webpdemux)
|
||||||
target_include_directories(vwebp
|
target_include_directories(vwebp
|
||||||
PRIVATE GLUT::GLUT
|
PRIVATE ${GLUT_INCLUDE_DIR}
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/src
|
${CMAKE_CURRENT_BINARY_DIR}/src
|
||||||
${OPENGL_INCLUDE_DIR})
|
${OPENGL_INCLUDE_DIR})
|
||||||
install(TARGETS vwebp RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
install(TARGETS vwebp RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||||
|
Loading…
Reference in New Issue
Block a user