Skip to content

Commit

Permalink
Didnt respect DESTDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
tom95 committed Mar 10, 2018
1 parent b4713e6 commit 439113b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ install (FILES data/icons/com.github.tom95.indicator-synapse.svg DESTINATION ${C
install (FILES data/icons/com.github.tom95.indicator-synapse.svg DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/icons/hicolor/128x128/apps/)

# work around elementary/houston requiring an installed "binary"
install (CODE "FILE(WRITE ${CMAKE_INSTALL_PREFIX}/bin/com.github.tom95.indicator-synapse \"\")")
set (FULL_INSTALL $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX})
install (CODE "FILE(WRITE ${FULL_INSTALL}/bin/com.github.tom95.indicator-synapse \"\")")

0 comments on commit 439113b

Please sign in to comment.