mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-29 06:41:09 +00:00
Merge pull request #456 from davidgyu/dxfix
A couple more DX / OpenCL changes for AMD
This commit is contained in:
commit
b0188bf217
@ -355,6 +355,10 @@ if (OPENGL_FOUND AND NOT IOS)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (WIN32 AND NOT NO_DX)
|
||||
find_package(DXSDK)
|
||||
endif()
|
||||
|
||||
if (NOT NO_MAYA)
|
||||
find_package(Maya 201200)
|
||||
endif()
|
||||
|
@ -41,6 +41,10 @@ include_directories(
|
||||
"${PTEX_INCLUDE_DIR}"
|
||||
)
|
||||
|
||||
if (OPENCL_FOUND)
|
||||
include_directories("${OPENCL_INCLUDE_DIRS}")
|
||||
endif()
|
||||
|
||||
set(SOURCE_FILES
|
||||
dxPtexViewer.cpp
|
||||
)
|
||||
|
@ -39,6 +39,10 @@ include_directories(
|
||||
"${DXSDK_INCLUDE_DIR}"
|
||||
)
|
||||
|
||||
if (OPENCL_FOUND)
|
||||
include_directories("${OPENCL_INCLUDE_DIRS}")
|
||||
endif()
|
||||
|
||||
set(SOURCE_FILES
|
||||
dxViewer.cpp
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user