From: <rus...@us...> - 2009-05-06 20:39:43
|
Revision: 407 http://gearbox.svn.sourceforge.net/gearbox/?rev=407&view=rev Author: russo2503v Date: 2009-05-06 20:39:25 +0000 (Wed, 06 May 2009) Log Message: ----------- fixed bug which did not report disabled modules Modified Paths: -------------- gearbox/trunk/cmake/DependencyUtils.cmake Modified: gearbox/trunk/cmake/DependencyUtils.cmake =================================================================== --- gearbox/trunk/cmake/DependencyUtils.cmake 2009-05-06 18:02:18 UTC (rev 406) +++ gearbox/trunk/cmake/DependencyUtils.cmake 2009-05-06 20:39:25 UTC (rev 407) @@ -217,6 +217,8 @@ set( ${cumulative_var} FALSE ) # force ENABLE_* variables to off in ccmake UI if dependencies aren't met. GBX_UTIL_MAKE_OPTION_NAME( option_name ${module_type} ${module_name} ) + string( COMPARE EQUAL ${type} "EXE" is_exe ) + string( COMPARE EQUAL ${type} "LIB" is_lib ) if( is_exe ) GBX_NOT_ADD_EXECUTABLE( ${module_name} ${reason} ) set( ${option_name} OFF CACHE BOOL "Try to build ${module_name}" FORCE ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |