Skip to content

Commit eb35fee

Browse files
committed
add source dir to astyle target command
1 parent 58b77b7 commit eb35fee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ add_custom_target(codespell COMMAND
5858
)
5959

6060
add_custom_target(astyle COMMAND
61-
astyle --project=.astylerc --recursive "./*.cpp,*.h"
61+
astyle --project=.astylerc --recursive "${CMAKE_SOURCE_DIR}/*.cpp,*.h"
6262
)
6363

0 commit comments

Comments
 (0)