mirror of
https://github.com/Kitware/CMake.git
synced 2026-07-01 12:18:01 +00:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user