[Subtitles] Partial fix for text/border color gap
[xbmc.git] / cmake / scripts / osx / PathSetup.cmake
blobddb417697e6a5111a0e8d132117d05e10db54132
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()
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}")
31 set(PATH_DEFINES -DBIN_INSTALL_PATH=\"${libdir}/${APP_NAME_LC}\"
32                    -DINSTALL_PATH=\"${datarootdir}/${APP_NAME_LC}\")