[Kde-bindings] Building qyoto on Ubuntu 12.04
Arno Rehn
arno at arnorehn.de
Mon Oct 1 16:46:35 UTC 2012
On 01/10/12 16:50, Chris Burel wrote:
> PerlQt does some magic to determine if the installed libraries need an
> RPATH for the smoke libraries. It does this:
>
> GET_FILENAME_COMPONENT(SMOKE_LIB_DIR ${SMOKE_BASE_LIBRARY} PATH)
> LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES ${SMOKE_LIB_DIR}
> isSystemDir)
> IF("${isSystemDir}" STREQUAL "-1")
> SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_RPATH}:${SMOKE_LIB_DIR}")
> ENDIF("${isSystemDir}" STREQUAL "-1")
>
> You could do something similar in the smokegen installation, but do the
> checks based on CMAKE_INSTALL_PREFIX instead.
Nice, thanks. I'll have a look :)
--
Arno Rehn
More information about the Kde-bindings
mailing list