Log Message: |
In the CMake build on macOS, add an option to use @rpath in the shared library.
* CMakeLists.txt: Reorder build options before their use (style change only).
Put platform-relative build options last.
(RELATIVE_RPATH): New macOS-specific build option.
(serf_shared): Only add the INSTALL_LIB_DIR property on macOS,
depending on RELATIVE_RPATH.
* build/SerfPlatform.cmake (CMAKE_MACOSX_RPATH): Depends on RELATIVE_RPATH.
|