Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
build: Add xmessage as "dependency"
...as it is needed by startlxqt in run-time.
  • Loading branch information
palinek committed Jul 1, 2016
1 parent 40809b1 commit 6d6d2be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Expand Up @@ -9,6 +9,12 @@ include(LXQtTranslateDesktop)

install(DIRECTORY "graphics/" DESTINATION "${LXQT_GRAPHICS_DIR}")

# xmessage dependency - to notify packagers
find_program(XMESSAGE xmessage PATHS ENV PATH NO_DEFAULT_PATH)
if (NOT XMESSAGE)
message(SEND_ERROR "The run-time dependency of startlxt -> 'xmessage' is not found")
endif()

# startlxqt script
set(PREDEF_XDG_DATA_DIRS "$XDG_DATA_HOME")
if(NOT("${LXQT_DATA_DIR}" MATCHES "^/usr(/local)?/share$"))
Expand Down

0 comments on commit 6d6d2be

Please sign in to comment.