Use CMAKE_INSTALL_BINDIR instead of hardcoded path

pull/7/head
s0dyy 4 years ago
parent 7dea04ae3b
commit 6cee4fd1d4

@ -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)

@ -11,7 +11,7 @@ sudo apt install libkf5windowsystem-dev -y
## Build
```bash
cmake ..
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
make
sudo make install
```

Loading…
Cancel
Save