Tests: skip MFC test when building cmake when no file association for vcproj

This commit is contained in:
Fred Baksik
2018-07-07 13:01:54 -04:00
parent 4330f10186
commit eb2ee1dc7e

View File

@@ -1940,6 +1940,10 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release
message(STATUS
".vcproj file association indicates VCExpress, avoiding MFC test")
set(CTEST_RUN_MFC OFF)
elseif( NOT ov )
message(STATUS
".vcproj has no file association, avoiding MFC test")
set(CTEST_RUN_MFC OFF)
endif()
endif()