Tests: Fix MFC test heuristic for empty CMAKE_TEST_MAKEPROGRAM

Also disable the MFC test if CMAKE_MAKE_PROGRAM is vcexpress.
This commit is contained in:
Brad King 2013-11-14 14:43:02 -05:00
parent fd6076d075
commit 72dd738bd4
1 changed files with 1 additions and 1 deletions

View File

@ -1492,7 +1492,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
# Look for evidence that this is a VCExpress build. If so, avoid
# the MFC test by default.
string(TOLOWER "${CMAKE_TEST_MAKEPROGRAM}" mkprog)
string(TOLOWER "${CMAKE_MAKE_PROGRAM};${CMAKE_TEST_MAKEPROGRAM}" mkprog)
if(mkprog MATCHES "vcexpress")
message(STATUS
"CMAKE_TEST_MAKEPROGRAM indicates vcexpress, avoiding MFC test")