diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2020-10-16 12:06:25 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2020-10-19 15:44:45 +0300 |
commit | 5ed525abb5647cf62eb2acf9dabfc4ff239e86e6 (patch) | |
tree | 7c39a0dc54c25092976de898c4726fbe78061f2e /src/CMakeLists.txt | |
parent | 11b6d4bcf5bf34878f0691c70717c95f45557baa (diff) |
install symlink for gcodeviewer
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 3 |
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 () |