mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-11 17:48:58 +08:00
GLEW_LIBRARY -> GLEW_LIBRARIES
This commit is contained in:
parent
bc753d4ac5
commit
d1453b5e5e
@ -29,7 +29,7 @@ if (DEFINED DRACO_DIR)
|
|||||||
# TODO(syoyo): better CMake script for draco
|
# TODO(syoyo): better CMake script for draco
|
||||||
add_definitions(-DTINYGLTF_ENABLE_DRACO)
|
add_definitions(-DTINYGLTF_ENABLE_DRACO)
|
||||||
include_directories(${DRACO_DIR}/include)
|
include_directories(${DRACO_DIR}/include)
|
||||||
|
|
||||||
link_directories(${DRACO_DIR}/lib)
|
link_directories(${DRACO_DIR}/lib)
|
||||||
set(DRACO_LIBRARY draco)
|
set(DRACO_LIBRARY draco)
|
||||||
endif ()
|
endif ()
|
||||||
@ -49,9 +49,9 @@ add_executable(glview
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries ( glview
|
target_link_libraries ( glview
|
||||||
${DRACO_LIBRARY}
|
${DRACO_LIBRARY}
|
||||||
${GLFW3_UNIX_LINK_LIBRARIES}
|
${GLFW3_UNIX_LINK_LIBRARIES}
|
||||||
${GLEW_LIBRARY}
|
${GLEW_LIBRARIES}
|
||||||
${GLFW3_glfw_LIBRARY}
|
${GLFW3_glfw_LIBRARY}
|
||||||
${OPENGL_gl_LIBRARY}
|
${OPENGL_gl_LIBRARY}
|
||||||
${OPENGL_glu_LIBRARY}
|
${OPENGL_glu_LIBRARY}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user