fix cmake
Dependecy qxt modules were not pulled, which required requesting explicitly all modules. Now only the required module can be requested, and dependencies are automatically pulled reviewed-by: Arvid E. Picciani <aep@exys.org>
This commit is contained in:
parent
e2c0d18085
commit
3215f35077
|
@ -146,8 +146,9 @@ FOREACH( module ${QXT_MODULES} )
|
|||
MESSAGE("Could not find Qxt Module ${module}")
|
||||
RETURN()
|
||||
ENDIF(QXT_FOUND_${U_MOD})
|
||||
FOREACH(dep QXT_${U_MOD}_DEPENDSON)
|
||||
SET(QXT_DEPENDS_${dep} TRUE)
|
||||
FOREACH(dep ${QXT_${U_MOD}_DEPENDSON})
|
||||
STRING(TOUPPER ${dep} U_DEP)
|
||||
SET(QXT_DEPENDS_${U_DEP} TRUE)
|
||||
ENDFOREACH(dep)
|
||||
ENDIF(QXT_USE_${U_MOD} OR QXT_DEPENDS_${U_MOD})
|
||||
ENDFOREACH(module)
|
||||
|
|
Loading…
Reference in New Issue
Block a user