diff --git a/CMakeLists.txt b/CMakeLists.txt index d6400de..18fcb62 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,6 +71,6 @@ qt5_create_translation(QM_FILES ${TS_FILES}) add_custom_target(translations DEPENDS ${QM_FILES} SOURCES ${TS_FILES}) add_dependencies(cutefish-filemanager translations) -install(TARGETS cutefish-filemanager RUNTIME DESTINATION /usr/bin) +install(TARGETS cutefish-filemanager RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) install(FILES cutefish-filemanager.desktop DESTINATION "/usr/share/applications") install(FILES ${QM_FILES} DESTINATION /usr/share/cutefish-filemanager/translations) diff --git a/README.md b/README.md index 5c9009f..dd692d1 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ sudo pacman -S extra-cmake-modules qt5-base qt5-quickcontrols2 taglib kio ```shell mkdir build cd build -cmake .. +cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. make ```