diff options
| author | manuel <manuel@mausz.at> | 2016-03-08 21:02:53 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2016-03-08 21:02:53 +0100 |
| commit | 9fc8b732737f139d3e466510d75668ab45578960 (patch) | |
| tree | 76db9bf5cb8cc869be908a5ed3d6f4cca3e3608a /project/cmake/scripts/darwin/pathsetup.cmake | |
| parent | b75e2659df11c23aa921d2eed83c23adc282ed27 (diff) | |
| download | kodi-pvr-build-9fc8b732737f139d3e466510d75668ab45578960.tar.gz kodi-pvr-build-9fc8b732737f139d3e466510d75668ab45578960.tar.bz2 kodi-pvr-build-9fc8b732737f139d3e466510d75668ab45578960.zip | |
sync with upstream
Diffstat (limited to 'project/cmake/scripts/darwin/pathsetup.cmake')
| -rw-r--r-- | project/cmake/scripts/darwin/pathsetup.cmake | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/project/cmake/scripts/darwin/pathsetup.cmake b/project/cmake/scripts/darwin/pathsetup.cmake new file mode 100644 index 0000000..e31f66e --- /dev/null +++ b/project/cmake/scripts/darwin/pathsetup.cmake | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | if(NOT prefix) | ||
| 2 | set(prefix ${DEPENDS_PATH}) | ||
| 3 | endif() | ||
| 4 | if(NOT exec_prefix) | ||
| 5 | set(exec_prefix \${prefix}) | ||
| 6 | endif() | ||
| 7 | if(NOT libdir) | ||
| 8 | set(libdir ${prefix}/lib) | ||
| 9 | endif() | ||
| 10 | if(NOT bindir) | ||
| 11 | set(bindir ${prefix}/bin) | ||
| 12 | endif() | ||
| 13 | if(NOT includedir) | ||
| 14 | set(includedir ${prefix}/include) | ||
| 15 | endif() | ||
| 16 | if(NOT datarootdir) | ||
| 17 | set(datarootdir ${prefix}/share) | ||
| 18 | endif() | ||
| 19 | if(NOT datadir) | ||
| 20 | set(datadir \${datarootdir}) | ||
| 21 | endif() | ||
| 22 | |||
| 23 | list(APPEND final_message "-- PATH config --") | ||
| 24 | list(APPEND final_message "Prefix: ${prefix}") | ||
| 25 | list(APPEND final_message "Libdir: ${libdir}") | ||
| 26 | list(APPEND final_message "Bindir: ${bindir}") | ||
| 27 | list(APPEND final_message "Includedir: ${includedir}") | ||
| 28 | list(APPEND final_message "Datarootdir: ${datarootdir}") | ||
| 29 | list(APPEND final_message "Datadir: ${datadir}") | ||
| 30 | |||
| 31 | set(PATH_DEFINES -DBIN_INSTALL_PATH=\"${libdir}/xbmc\" | ||
| 32 | -DINSTALL_PATH=\"${datarootdir}/xbmc\") | ||
