mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-08 13:30:04 +00:00
Removed a couple build advisory messages
This simplifies the build by restricting build configuration commentary messages to the top-level CMakeLists.txt instead of in leaf directories.
This commit is contained in:
parent
6339ac5c43
commit
b738fa1225
@ -43,29 +43,6 @@ if (NOT NO_OPENGL)
|
||||
add_subdirectory(glPtexViewer)
|
||||
endif()
|
||||
|
||||
else()
|
||||
|
||||
set(MISSING "")
|
||||
|
||||
if (NOT OPENGL_FOUND)
|
||||
list(APPEND MISSING OpenGL)
|
||||
endif()
|
||||
|
||||
if (NOT GLEW_FOUND)
|
||||
list(APPEND MISSING glew)
|
||||
endif()
|
||||
|
||||
if (NOT GLFW_FOUND)
|
||||
list(APPEND MISSING glfw)
|
||||
endif()
|
||||
|
||||
message(WARNING
|
||||
"The following libraries could not be found : ${MISSING}. "
|
||||
"The glViewer and ptexViewer examples will not be available. "
|
||||
"If you have these libraries installed, please specify their "
|
||||
"path to cmake (through the GLEW_LOCATION and GLFW_LOCATION "
|
||||
"command line arguments or environment variables)."
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
@ -34,28 +34,6 @@ if (NOT NO_REGRESSION)
|
||||
|
||||
if(OPENGL_FOUND AND (GLEW_FOUND OR APPLE) AND GLFW_FOUND)
|
||||
add_subdirectory(osd_regression)
|
||||
else()
|
||||
set(MISSING "")
|
||||
|
||||
if (NOT OPENGL_FOUND)
|
||||
list(APPEND MISSING OpenGL)
|
||||
endif()
|
||||
|
||||
if (NOT GLEW_FOUND)
|
||||
list(APPEND MISSING glew)
|
||||
endif()
|
||||
|
||||
if (NOT GLFW_FOUND)
|
||||
list(APPEND MISSING glfw)
|
||||
endif()
|
||||
|
||||
message(WARNING
|
||||
"The following libraries could not be found : ${MISSING}. "
|
||||
"The osd regression test will not be available. "
|
||||
"If you have these libraries installed, please specify their "
|
||||
"path to cmake (through the GLEW_LOCATION and GLFW_LOCATION "
|
||||
"command line arguments or environment variables)."
|
||||
)
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user