mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-14 02:10:18 +00:00
fix CMake dependencies for shader string in mainApple.mm
fix missing includes fixes #81
This commit is contained in:
parent
c9e020ade7
commit
6a8f58b65e
@ -98,17 +98,19 @@ foreach(shader_file ${SHADER_FILES})
|
||||
endforeach()
|
||||
|
||||
if(APPLE)
|
||||
_add_glut_executable(simpleCpu
|
||||
mainApple.mm
|
||||
simpleCpuSubdivision.cpp
|
||||
)
|
||||
_add_glut_executable(simpleCpu
|
||||
mainApple.mm
|
||||
simpleCpuSubdivision.cpp
|
||||
${SHADER_FILES}
|
||||
${INC_FILES}
|
||||
)
|
||||
else()
|
||||
_add_glut_executable(simpleCpu
|
||||
simpleCpuSubdivision.cpp
|
||||
mainGlut.cpp
|
||||
${SHADER_FILES}
|
||||
${INC_FILES}
|
||||
)
|
||||
_add_glut_executable(simpleCpu
|
||||
simpleCpuSubdivision.cpp
|
||||
mainGlut.cpp
|
||||
${SHADER_FILES}
|
||||
${INC_FILES}
|
||||
)
|
||||
endif()
|
||||
|
||||
target_link_libraries(simpleCpu
|
||||
|
@ -1,7 +1,8 @@
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <OpenGL/OpenGL.h>
|
||||
#import <OpenGL/glu.h>
|
||||
#import <wchar.h>
|
||||
#import <iostream>
|
||||
|
||||
//
|
||||
// Hooks back into the example code
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user