Hi folks,

I'm having trouble figuring out how to turn CMAKE_SKIP_RPATH on for a single subdirectory (or for that matter, just one library).

I've tried all possible permutations of
SET(CMAKE_SKIP_RPATH ON [CACHE BOOL "" [FORCE]])
at the top of the CMakeLists.txt file in my subdirectory, but always the lib is created with an rpath/install_name.

I'm on OS X, and the library type is SHARED. If I change the type to MODULE, then no rpath/install_name information is ever generated, regardless of the state of CMAKE_SKIP_RPATHS.

Can anyone shed any light on the situation?

Thanks,

Zach
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to