| 1 |
# teach binaries how to find plugins and libraries, even if there is another |
| 2 |
# copy of Graphviz installed in the system default paths |
| 3 |
if(APPLE) |
| 4 |
list(APPEND CMAKE_INSTALL_RPATH "@executable_path/../${PLUGIN_INSTALL_DIR}") |
| 5 |
list(APPEND CMAKE_INSTALL_RPATH "@executable_path/../${LIBRARY_INSTALL_DIR}") |
| 6 |
else() |
| 7 |
list(APPEND CMAKE_INSTALL_RPATH "\$ORIGIN/../${PLUGIN_INSTALL_DIR}") |
| 8 |
list(APPEND CMAKE_INSTALL_RPATH "\$ORIGIN/../${LIBRARY_INSTALL_DIR}") |
| 9 |
endif() |
| 10 |
|
| 11 |
add_subdirectory(dot) |
| 12 |
add_subdirectory(edgepaint) |
| 13 |
add_subdirectory(gvedit) |
| 14 |
add_subdirectory(gvmap) |
| 15 |
add_subdirectory(gvpr) |
| 16 |
add_subdirectory(mingle) |
| 17 |
add_subdirectory(smyrna) |
| 18 |
add_subdirectory(tools) |