equal
deleted
inserted
replaced
49 set(CMAKE_SKIP_INSTALL_RPATH FALSE) |
49 set(CMAKE_SKIP_INSTALL_RPATH FALSE) |
50 |
50 |
51 #it's safe to use our RPATH because it is relative |
51 #it's safe to use our RPATH because it is relative |
52 set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) |
52 set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) |
53 |
53 |
|
54 #add the automatically determined parts of the RPATH |
|
55 #which point to directories outside the build tree to the install RPATH |
|
56 set(CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE) |
|
57 |
54 #paths where to find libraries (final slash not optional): |
58 #paths where to find libraries (final slash not optional): |
55 # - the first is relative to the executable |
59 # - the first is relative to the executable |
56 # - the second is the same directory of the executable (so it runs in bin/) |
60 # - the second is the same directory of the executable (so it runs in bin/) |
57 # - the third one is the full path of the system dir |
61 # - the third one is the full path of the system dir |
58 #source http://www.cmake.org/pipermail/cmake/2008-January/019290.html |
62 #source http://www.cmake.org/pipermail/cmake/2008-January/019290.html |