Merge topic 'skip_mfc_test'

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

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2196
This commit is contained in:
Brad King
2018-07-10 14:07:34 +00:00
committed by Kitware Robot

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()