mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-10 06:10:07 +00:00
Fix include paths for new common example objects build (windows build)
This commit is contained in:
parent
eb09b9e14c
commit
1d4891fe8f
@ -22,7 +22,7 @@
|
|||||||
# language governing permissions and limitations under the Apache License.
|
# language governing permissions and limitations under the Apache License.
|
||||||
#
|
#
|
||||||
|
|
||||||
set(EXAMPLES_COMMON_SOURCE_FILES
|
set(EXAMPLES_COMMON_SOURCE_FILES
|
||||||
font_image.cpp
|
font_image.cpp
|
||||||
hdr_reader.cpp
|
hdr_reader.cpp
|
||||||
hud.cpp
|
hud.cpp
|
||||||
@ -49,9 +49,16 @@ if( OPENGL_FOUND AND (GLEW_FOUND AND GLFW_FOUND) OR (APPLE AND GLFW_FOUND))
|
|||||||
list(APPEND EXAMPLES_COMMON_HEADER_FILES
|
list(APPEND EXAMPLES_COMMON_HEADER_FILES
|
||||||
gl_hud.h
|
gl_hud.h
|
||||||
)
|
)
|
||||||
|
|
||||||
|
include_directories(${OPENGL_INCLUDE_DIR})
|
||||||
|
|
||||||
|
if (GLEW_FOUND)
|
||||||
|
include_directories(${GLEW_INCLUDE_DIR})
|
||||||
|
endif()
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
if(DXSDK_FOUND)
|
if(DXSDK_FOUND)
|
||||||
|
|
||||||
list(APPEND EXAMPLES_COMMON_SOURCE_FILES
|
list(APPEND EXAMPLES_COMMON_SOURCE_FILES
|
||||||
@ -61,6 +68,9 @@ if(DXSDK_FOUND)
|
|||||||
list(APPEND EXAMPLES_COMMON_HEADER_FILES
|
list(APPEND EXAMPLES_COMMON_HEADER_FILES
|
||||||
d3d11_hud.h
|
d3d11_hud.h
|
||||||
)
|
)
|
||||||
|
|
||||||
|
include_directories(${DXSDK_INCLUDE_DIR})
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
|
Loading…
Reference in New Issue
Block a user