sort contrib libraries before include them

This commit is contained in:
Yuichi Nishiwaki 2014-06-29 01:29:09 +09:00
parent 85d513abe6
commit 5e12794467
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
file(GLOB CONTRIBS ${PROJECT_SOURCE_DIR}/contrib/*/CMakeLists.txt)
list(SORT CONTRIBS)
foreach(contrib ${CONTRIBS})
include(${contrib})
endforeach()