diff options
Diffstat (limited to 'distribution/osx/dependencies.cmake.in')
-rw-r--r-- | distribution/osx/dependencies.cmake.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/distribution/osx/dependencies.cmake.in b/distribution/osx/dependencies.cmake.in new file mode 100644 index 0000000..dfa3221 --- /dev/null +++ b/distribution/osx/dependencies.cmake.in @@ -0,0 +1,9 @@ +INCLUDE(GetPrerequisites) +GET_PREREQUISITES(@XTRKCAD_LOCATION@ DEPENDENCIES 1 1 "" "") + +FOREACH(DEPENDENCY ${DEPENDENCIES}) + GET_FILENAME_COMPONENT(DEPENDENCY_NAME "${DEPENDENCY}" NAME) + GET_FILENAME_COMPONENT(DEPENDENCY_ACTUAL "${DEPENDENCY}" REALPATH) + FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE PROGRAM RENAME "${DEPENDENCY_NAME}" FILES "${DEPENDENCY_ACTUAL}") +ENDFOREACH() + |