[Subtitles] Partial fix for text/border color gap
[xbmc.git] / cmake / scripts / android / PathSetup.cmake
blob61157819ee4ff7fb4f156fa7f0858ad97a753168
1 if(NOT prefix)
2   set(prefix ${DEPENDS_PATH})
3 endif()
4 set(CMAKE_INSTALL_PREFIX ${prefix})
5 if(NOT exec_prefix)
6   set(exec_prefix ${prefix})
7 endif()
8 if(NOT libdir)
9   set(libdir ${prefix}/lib)
10 endif()
11 if(NOT bindir)
12   set(bindir ${prefix}/bin)
13 endif()
14 if(NOT includedir)
15   set(includedir ${prefix}/include)
16 endif()
17 if(NOT datarootdir)
18   set(datarootdir ${prefix}/share)
19 endif()
20 if(NOT datadir)
21   set(datadir ${datarootdir})
22 endif()
24 list(APPEND final_message "-- PATH config --")
25 list(APPEND final_message "Prefix: ${prefix}")
26 list(APPEND final_message "Libdir: ${libdir}")
27 list(APPEND final_message "Bindir: ${bindir}")
28 list(APPEND final_message "Includedir: ${includedir}")
29 list(APPEND final_message "Datarootdir: ${datarootdir}")
30 list(APPEND final_message "Datadir: ${datadir}")
32 set(PATH_DEFINES -DBIN_INSTALL_PATH=\"${libdir}/${APP_NAME_LC}\"
33                    -DINSTALL_PATH=\"${datarootdir}/${APP_NAME_LC}\")