diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-28 16:52:56 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-28 16:52:56 +0100 |
commit | 7b358424ebad9349421acd533c2fa1cbf6cf3e3e (patch) | |
tree | 686678532eefed525c242fd214d0cfb2914726c5 /distribution/osx/dependencies.cmake.in |
Initial import of xtrkcad version 1:4.0.2-2
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() + |