Skip to content
Snippets Groups Projects
Commit ce3147e1 authored by Dilawar Singh's avatar Dilawar Singh
Browse files

Fixed uninstall target.

parent c717f5ba
No related branches found
No related tags found
No related merge requests found
......@@ -132,10 +132,11 @@ add_custom_command(OUTPUT __uninstall_moose-core__
)
if(WITH_GUI)
add_custom_command(OUTPUT __uninstall_moose-gui__
add_custom_target( __uninstall_moose-gui__ )
add_custom_command(TARGET __uninstall_moose-gui__
COMMAND ${CMAKE_COMMAND} -E remove_directory
${CMAKE_INSTALL_PREFIX}/lib/moose/gui
COMMAND ${CMAKE_COMMAND} -E remove ${CMAKE_INSTALL_PREFIX}/bin/moose
COMMAND ${CMAKE_COMMAND} -E remove ${CMAKE_INSTALL_PREFIX}/bin/moosegui
)
add_dependencies( uninstall __uninstall_moose-gui__ )
endif()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment