mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-16 04:14:31 -04:00
CMake: ignore config files (and tests) for skipped modules.
This commit is contained in:
parent
ad89dd7cc4
commit
3723355fb9
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ function( calamares_add_module_subdirectory )
|
|||
# the calling CMakeLists (which is src/modules/CMakeLists.txt normally).
|
||||
if ( SKIPPED_MODULES )
|
||||
set( SKIPPED_MODULES ${SKIPPED_MODULES} PARENT_SCOPE )
|
||||
set( MODULE_CONFIG_FILES "" )
|
||||
endif()
|
||||
# ...otherwise, we look for a module.desc.
|
||||
elseif( EXISTS "${_mod_dir}/module.desc" )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue