From 3723355fb9dea723d152abfcbb10ed440bb49c0b Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Wed, 7 Feb 2018 13:31:50 +0100 Subject: [PATCH] CMake: ignore config files (and tests) for skipped modules. --- CMakeModules/CalamaresAddModuleSubdirectory.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeModules/CalamaresAddModuleSubdirectory.cmake b/CMakeModules/CalamaresAddModuleSubdirectory.cmake index 2d891a6bb..32d9ea952 100644 --- a/CMakeModules/CalamaresAddModuleSubdirectory.cmake +++ b/CMakeModules/CalamaresAddModuleSubdirectory.cmake @@ -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" )