File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,15 +58,15 @@ endif()
58
58
59
59
# bash completion
60
60
if (NOT WIN32 )
61
- add_custom_command (OUTPUT "${CMAKE_SOURCE_DIR} /scripts/bash-autocomplete/cbmc.sh"
62
- COMMAND "${CMAKE_SOURCE_DIR} /scripts/bash-autocomplete/extract_switches.sh"
61
+ add_custom_command (OUTPUT "${CMAKE_CURRENT_SOURCE_DIR} /../.. /scripts/bash-autocomplete/cbmc.sh"
62
+ COMMAND "${CMAKE_CURRENT_SOURCE_DIR} /../.. /scripts/bash-autocomplete/extract_switches.sh"
63
63
DEPENDS $<TARGET_FILE:cbmc>
64
64
)
65
65
add_custom_target (cbmc.sh ALL
66
- DEPENDS "${CMAKE_SOURCE_DIR} /scripts/bash-autocomplete/cbmc.sh"
66
+ DEPENDS "${CMAKE_CURRENT_SOURCE_DIR} /../.. /scripts/bash-autocomplete/cbmc.sh"
67
67
)
68
68
install (
69
- FILES ${CMAKE_SOURCE_DIR} /scripts/bash-autocomplete/cbmc.sh
69
+ FILES ${CMAKE_CURRENT_SOURCE_DIR} /../.. /scripts/bash-autocomplete/cbmc.sh
70
70
DESTINATION etc/bash_completion.d
71
71
RENAME cbmc
72
72
)
You can’t perform that action at this time.
0 commit comments