diff options
author | Manuel Bentele | 2021-10-12 10:24:31 +0200 |
---|---|---|
committer | Manuel Bentele | 2021-10-12 10:24:31 +0200 |
commit | b8a39b4269f1d9612c619d05fb1bbdac7c55dc41 (patch) | |
tree | 46df9b7973efe14c8981443e20d7ebf744709f47 /core/modules/looking-glass-client/module.build | |
parent | [setup_target] Compile Gsettings schemas in a target's post process (diff) | |
download | mltk-b8a39b4269f1d9612c619d05fb1bbdac7c55dc41.tar.gz mltk-b8a39b4269f1d9612c619d05fb1bbdac7c55dc41.tar.xz mltk-b8a39b4269f1d9612c619d05fb1bbdac7c55dc41.zip |
[looking-glass-client] Use CMake's generated install target for installationfeature/latest-qemu
Diffstat (limited to 'core/modules/looking-glass-client/module.build')
-rw-r--r-- | core/modules/looking-glass-client/module.build | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/core/modules/looking-glass-client/module.build b/core/modules/looking-glass-client/module.build index 52609237..179d7e72 100644 --- a/core/modules/looking-glass-client/module.build +++ b/core/modules/looking-glass-client/module.build @@ -6,17 +6,19 @@ fetch_source() { build() { local SRCDIR="${MODULE_WORK_DIR}/src/LookingGlass" - local CLIENTBUILDDIR="client/build" - mkdir -p "${SRCDIR}/${CLIENTBUILDDIR}" || perror "Failed to create CMake build directory!" - cde "${SRCDIR}/${CLIENTBUILDDIR}" + local DSTDIR="${MODULE_BUILD_DIR}" + + mkdir -p "${SRCDIR}/client/build" || perror "Failed to create CMake build directory!" + cde "${SRCDIR}/client/build" + cmake -DENABLE_WAYLAND=no \ -DENABLE_X11=yes \ + -DCMAKE_INSTALL_PREFIX=/usr \ ../ || perror "'cmake' failed." make || perror "'make' failed." - mkdir -p "${MODULE_BUILD_DIR}/opt/openslx/bin" - cp "${SRCDIR}/${CLIENTBUILDDIR}/looking-glass-client" "${MODULE_BUILD_DIR}/opt/openslx/bin/looking-glass-client" || perror "'cp' failed." + DESTDIR="${DSTDIR}" make install || perror "'make install' failed." } post_copy() { : -}
\ No newline at end of file +} |