1 include(GNUInstallDirs)
4 set(prefix ${CMAKE_INSTALL_PREFIX})
6 set(CMAKE_INSTALL_PREFIX ${prefix})
9 set(exec_prefix ${prefix})
12 set(libdir ${CMAKE_INSTALL_FULL_LIBDIR})
15 set(bindir ${CMAKE_INSTALL_FULL_BINDIR})
18 set(includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
21 set(datarootdir ${CMAKE_INSTALL_FULL_DATAROOTDIR})
24 set(datadir ${CMAKE_INSTALL_FULL_DATADIR})
27 set(docdir ${CMAKE_INSTALL_FULL_DOCDIR})
30 list(APPEND final_message "-- PATH config --")
31 list(APPEND final_message "Prefix: ${prefix}")
32 list(APPEND final_message "Libdir: ${libdir}")
33 list(APPEND final_message "Bindir: ${bindir}")
34 list(APPEND final_message "Includedir: ${includedir}")
35 list(APPEND final_message "Datarootdir: ${datarootdir}")
36 list(APPEND final_message "Datadir: ${datadir}")
37 list(APPEND final_message "Docdir: ${docdir}")
39 set(PATH_DEFINES -DBIN_INSTALL_PATH=\"${libdir}/${APP_NAME_LC}\"
40 -DINSTALL_PATH=\"${datarootdir}/${APP_NAME_LC}\")