mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-24 07:58:22 -04:00
CMake: build modules alphabetically
This commit is contained in:
parent
8c4a298f16
commit
eae52a3e65
1 changed files with 4 additions and 1 deletions
|
@ -10,8 +10,11 @@ if( BUILD_TESTING )
|
|||
target_include_directories( test_conf PUBLIC ${YAMLCPP_INCLUDE_DIR} )
|
||||
endif()
|
||||
|
||||
file( GLOB SUBDIRECTORIES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*" )
|
||||
string( REPLACE " " ";" SKIP_LIST "${SKIP_MODULES}" )
|
||||
|
||||
file( GLOB SUBDIRECTORIES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*" )
|
||||
list( SORT SUBDIRECTORIES )
|
||||
|
||||
foreach( SUBDIRECTORY ${SUBDIRECTORIES} )
|
||||
list( FIND SKIP_LIST ${SUBDIRECTORY} DO_SKIP )
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue