diff --git a/src/Tools/plugins/widget/CMakeLists.txt b/src/Tools/plugins/widget/CMakeLists.txt index 933caeea29..3f5adeb136 100644 --- a/src/Tools/plugins/widget/CMakeLists.txt +++ b/src/Tools/plugins/widget/CMakeLists.txt @@ -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} )