aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/kicad_gerber.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/kicad_gerber.cmake b/cmake/kicad_gerber.cmake
index 580fa10..5391414 100644
--- a/cmake/kicad_gerber.cmake
+++ b/cmake/kicad_gerber.cmake
@@ -55,6 +55,7 @@ function(kicad_gerber)
RESULT_VARIABLE res)
file(STRINGS ${CMAKE_CURRENT_BINARY_DIR}/${target}-gerber-index.txt outputs)
+ list(SORT outputs)
if (NOT res EQUAL 0)
message(SEND_ERROR "kicad_gerber.py failed: ${out} ${err}")