mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-12 09:20:17 +00:00
Workaround dxPtexViewer link dependencies
This commit is contained in:
parent
d470bc81b9
commit
808d0322fd
@ -44,6 +44,15 @@ if (OPENCL_FOUND)
|
||||
include_directories("${OPENCL_INCLUDE_DIRS}")
|
||||
endif()
|
||||
|
||||
# XXX: This is unfortunate, we should probably refactor examples_common_obj
|
||||
# to separate out the GL from the DX dependencies so that we don't end up
|
||||
# in the situation where we have to link in GLFW for dxPtexViewer.
|
||||
if (GLFW_FOUND)
|
||||
list(APPEND PLATFORM_LIBRARIES
|
||||
"${GLFW_LIBRARIES}"
|
||||
)
|
||||
endif()
|
||||
|
||||
set(SOURCE_FILES
|
||||
dxPtexViewer.cpp
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user