Oh, sorry. Rereading your mail message more closely, you want a "$"
character to pass through properly.
Did you try "$$" in the original code (not the one with the single quotes)?
SET(CMAKE_INSTALL_RPATH
"${CMAKE_INSTALL_RPATH}:$$ORIGIN/../xxx")
Or perhaps other stuff like on this recent wiki addition?
http://www.cmake.org/Wiki/CMake:VariablesListsStrings#Escaping
There was a recent thread called "how to escape the $ dollar sign?"
James
Iker Arizmendi wrote:
James,
The lack of braces was deliberate - the $ORIGIN string is not a
CMake variable but a special token that should be passed to the
linker without any expansion (the Linux linker provides special
handling for rpath components that use $ORIGIN).
Regards,
Iker
> CMake expands variables with curly braces. Try ${ORIGIN} instead
> of $ORIGIN and see if that helps.
>
> James
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake