equal
deleted
inserted
replaced
57 |
57 |
58 if(APPLE) |
58 if(APPLE) |
59 #@rpath mangling |
59 #@rpath mangling |
60 set(CMAKE_INSTALL_RPATH "@executable_path/../Frameworks") |
60 set(CMAKE_INSTALL_RPATH "@executable_path/../Frameworks") |
61 #install_name_tool for libraries |
61 #install_name_tool for libraries |
|
62 set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR TRUE) |
62 set(CMAKE_INSTALL_NAME_DIR "@executable_path/../Frameworks") |
63 set(CMAKE_INSTALL_NAME_DIR "@executable_path/../Frameworks") |
63 else(APPLE AND NOT (${CMAKE_INSTALL_PREFIX} MATCHES "/usr")) |
64 else(APPLE AND NOT (${CMAKE_INSTALL_PREFIX} MATCHES "/usr")) |
64 #paths where to find libraries (final slash not optional): |
65 #paths where to find libraries (final slash not optional): |
65 # - the first is relative to the executable |
66 # - the first is relative to the executable |
66 # - the second is the same directory of the executable (so it runs in bin/) |
67 # - the second is the same directory of the executable (so it runs in bin/) |