summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
diff options
context:
space:
mode:
authorFred Baksik <frodak17@gmail.com>2018-07-07 17:01:54 (GMT)
committerFred Baksik <frodak17@gmail.com>2018-07-09 15:29:54 (GMT)
commiteb2ee1dc7e82e7f89ccca024103bf64186a6d101 (patch)
treefb800bd0c7efce075581f974a72b24035989c255 /Tests/CMakeLists.txt
parent4330f10186e994b3a7b64729f8b4e64e10a30896 (diff)
downloadCMake-eb2ee1dc7e82e7f89ccca024103bf64186a6d101.zip
CMake-eb2ee1dc7e82e7f89ccca024103bf64186a6d101.tar.gz
CMake-eb2ee1dc7e82e7f89ccca024103bf64186a6d101.tar.bz2
Tests: skip MFC test when building cmake when no file association for vcproj
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r--Tests/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index b389a13..9200579 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -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()