diff --git a/CMakeLists.txt b/CMakeLists.txt index a62bde7..6fac63a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -121,5 +121,5 @@ qt5_create_translation(QM_FILES ${TS_FILES}) add_custom_target(translations DEPENDS ${QM_FILES} SOURCES ${TS_FILES}) add_dependencies(cutefish-statusbar translations) -install(TARGETS cutefish-statusbar RUNTIME DESTINATION /usr/bin) +install(TARGETS cutefish-statusbar RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) install(FILES ${QM_FILES} DESTINATION /usr/share/cutefish-statusbar/translations) diff --git a/README.md b/README.md index 2bf0dfb..d729b72 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ sudo apt install libkf5windowsystem-dev -y ## Build ```bash -cmake .. +cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. make sudo make install ```