install symlink for gcodeviewer

This commit is contained in:
tamasmeszaros committed 2020-10-19 14:44:45 +02:00
1 parent 11b6d4bcf5
commit 5ed525abb5
1 file changed
+3
+3
View File
@@ -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 ()