Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2020-10-16 12:06:25 +0300
committertamasmeszaros <meszaros.q@gmail.com>2020-10-19 15:44:45 +0300
commit5ed525abb5647cf62eb2acf9dabfc4ff239e86e6 (patch)
tree7c39a0dc54c25092976de898c4726fbe78061f2e /src/CMakeLists.txt
parent11b6d4bcf5bf34878f0691c70717c95f45557baa (diff)
install symlink for gcodeviewer
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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 ()