CMake: Fix duplicating DESTDIR in Designer plugin installation path

CMake already handles DESTDIR.
This commit is contained in:
Chris Mayo
2025-04-08 19:29:02 +01:00
committed by Chris Hennes
parent 7e49be4f0f
commit 1f30874e7a

View File

@@ -69,6 +69,6 @@ endif()
INSTALL(TARGETS FreeCAD_widgets
RUNTIME DESTINATION "$ENV{DESTDIR}${DESIGNER_PLUGIN_LOCATION}"
LIBRARY DESTINATION "$ENV{DESTDIR}${DESIGNER_PLUGIN_LOCATION}"
RUNTIME DESTINATION ${DESIGNER_PLUGIN_LOCATION}
LIBRARY DESTINATION ${DESIGNER_PLUGIN_LOCATION}
)