mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-09 22:00:06 +00:00
Fix CMake error message
This commit is contained in:
parent
e072b19c2a
commit
ee26835d47
@ -33,7 +33,7 @@ if(EXISTS "${CMAKE_SOURCE_DIR}/opensubdiv/version.h")
|
||||
OpenSubdiv_VERSION REGEX "^#define OPENSUBDIV_VERSION .*$")
|
||||
string(REPLACE "#define OPENSUBDIV_VERSION " "" OpenSubdiv_VERSION ${OpenSubdiv_VERSION})
|
||||
else()
|
||||
error("Cannot locate opensubdiv/version.h in CMAKE_SOURCE_DIR")
|
||||
message(FATAL_ERROR, "Cannot locate opensubdiv/version.h in CMAKE_SOURCE_DIR")
|
||||
endif()
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user