Skip to content

Commit

Permalink
Replace custom install with proper file
Browse files Browse the repository at this point in the history
  • Loading branch information
tom95 committed Mar 10, 2018
1 parent 439113b commit 066fa93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,4 @@ 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"
set (FULL_INSTALL $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX})
install (CODE "FILE(WRITE ${FULL_INSTALL}/bin/com.github.tom95.indicator-synapse \"\")")
install (FILES data/com.github.tom95.indicator-synapse DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
Empty file.

0 comments on commit 066fa93

Please sign in to comment.