tkurbad-overlay/media-gfx/superslicer/files/superslicer-2.5.59.8-gcodeviewer-symlink-fix.patch
2024-02-22 10:06:25 +01:00

12 lines
686 B
Diff

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ba2fe01..b84292b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -300,5 +300,5 @@ else ()
install(TARGETS Slic3r RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
# Install the symlink for gcodeviewer
- install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink slic3r ${GCODEVIEWER_APP_CMD} WORKING_DIRECTORY \$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR})")
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${SLIC3R_APP_CMD} ${GCODEVIEWER_APP_CMD} WORKING_DIRECTORY \$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR})")
endif ()