Currently alembic appends "alembic-${VERSION}" to the CMAKE_INSTALL_PREFIX,
which forces users/studios into a particular build scheme, which may not be
compatible with their own (for example, at Luma we use rez).
It would be great to have a way to specify the absolute install path and not
have it altered.
The relevant code is here:
IF ( DEFINED ENV{ALEMBIC_INSTALL_PREFIX} )
SET( CMAKE_INSTALL_PREFIX
$ENV{ALEMBIC_INSTALL_PREFIX}/alembic-${VERSION} )
ELSE ()
SET( ORIGINAL_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX} )
SET( CMAKE_INSTALL_PREFIX
${ORIGINAL_INSTALL_PREFIX}/alembic-${VERSION} )
ENDIF ()
It'd be nice if CMAKE_INSTALL_PREFIX were honored precisely, but I can
understand if for backward compatibility you want to add another cmake variable
to control this.
Original issue reported on code.google.com by chad...@gmail.com on 15 Aug 2014 at 10:27
Original issue reported on code.google.com by
chad...@gmail.com
on 15 Aug 2014 at 10:27