From cf5de2ab2e7c91b22c0e9bbc7a2c289462c34734 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Fri, 17 Aug 2018 10:52:55 +0200 Subject: [PATCH] Move appimage tools in the externals directory --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3915218..a49310e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -777,11 +777,11 @@ endif () if (BUILD_LINUX) set (APPIMAGE_APPRUN_BIN "AppRun-x86_64") set (APPIMAGE_APPRUN_URL "https://github.com/probonopd/AppImageKit/releases/download/continuous/${APPIMAGE_APPRUN_BIN}") - set (APPIMAGE_APPRUN_PROGRAM "${CMAKE_BINARY_DIR}/bin/${APPIMAGE_APPRUN_BIN}") + set (APPIMAGE_APPRUN_PROGRAM "${CMAKE_CURRENT_SOURCE_DIR}/externals/${APPIMAGE_APPRUN_BIN}") set (APPIMAGE_TOOL_BIN "appimagetool-x86_64.AppImage") set (APPIMAGE_TOOL_URL "https://github.com/probonopd/AppImageKit/releases/download/continuous/${APPIMAGE_TOOL_BIN}") - set (APPIMAGE_TOOL_PROGRAM "${CMAKE_BINARY_DIR}/bin/${APPIMAGE_TOOL_BIN}") + set (APPIMAGE_TOOL_PROGRAM "${CMAKE_CURRENT_SOURCE_DIR}/externals/${APPIMAGE_TOOL_BIN}") if (NOT EXISTS "${APPIMAGE_APPRUN_PROGRAM}") file (DOWNLOAD "${APPIMAGE_APPRUN_URL}" "${APPIMAGE_APPRUN_PROGRAM}")