mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-27 22:10:06 +00:00
Adding the ability of specifying the directory for the HTML documentation
as a sub-directory of the general installation directory (this is how the graphics.pixar.com site is built).
This commit is contained in:
parent
55c0b0d70f
commit
39d61eb2e3
@ -64,6 +64,12 @@ endif()
|
||||
|
||||
if (NOT DEFINED CMAKE_DOCDIR_BASE)
|
||||
set( CMAKE_DOCDIR_BASE share/doc/opensubdiv )
|
||||
else()
|
||||
if (IS_ABSOLUTE ${CMAKE_DOCDIR_BASE})
|
||||
set( CMAKE_DOCDIR_BASE ${CMAKE_DOCDIR_BASE} )
|
||||
else()
|
||||
set( CMAKE_DOCDIR_BASE ${CMAKE_INSTALL_PREFIX}/${CMAKE_DOCDIR_BASE} )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Allow install path to be overridden for cross-compile builds
|
||||
|
Loading…
Reference in New Issue
Block a user