Merge pull request #7 from s0dyy/main
Use CMAKE_INSTALL_BINDIR instead of hardcoded path
This commit is contained in:
commit
b112baf1cf
2 changed files with 2 additions and 2 deletions
|
@ -58,5 +58,5 @@ qt5_create_translation(QM_FILES ${TS_FILES})
|
||||||
add_custom_target(translations DEPENDS ${QM_FILES} SOURCES ${TS_FILES})
|
add_custom_target(translations DEPENDS ${QM_FILES} SOURCES ${TS_FILES})
|
||||||
add_dependencies(${PROJECT_NAME} translations)
|
add_dependencies(${PROJECT_NAME} translations)
|
||||||
|
|
||||||
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION /usr/bin)
|
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||||
install(FILES ${QM_FILES} DESTINATION /usr/share/${PROJECT_NAME}/translations)
|
install(FILES ${QM_FILES} DESTINATION /usr/share/${PROJECT_NAME}/translations)
|
||||||
|
|
|
@ -15,7 +15,7 @@ You also need [`fishui`](https://github.com/cutefishos/fishui) and [`libcutefish
|
||||||
```
|
```
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue