From 5ed525abb5647cf62eb2acf9dabfc4ff239e86e6 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Fri, 16 Oct 2020 11:06:25 +0200 Subject: [PATCH] install symlink for gcodeviewer --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index dbdd22778..84026b667 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -247,4 +247,7 @@ if (WIN32) endif () else () install(TARGETS PrusaSlicer RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}") + + # Install the symlink for gcodeviewer + install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink prusa-slicer prusa-gcodeviewer WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR})") endif ()