Merge pull request #571 from davidgyu/winBuildFix

Workaround dxPtexViewer link dependencies
This commit is contained in:
Jeremy Cowles 2015-05-31 12:24:20 -07:00
commit ed38b28f40

View File

@ -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
)