diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-02-25 15:38:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-02-25 18:39:46 (GMT) |
commit | cc4e30480025d942bcedb762635295a0f768f686 (patch) | |
tree | 4ba9850e56bd0688bfba6d0857aafe4fdf6b5b5a | |
parent | bcf4da52d8101519bfb35e3b63a76ad62af41e79 (diff) | |
download | CMake-cc4e30480025d942bcedb762635295a0f768f686.zip CMake-cc4e30480025d942bcedb762635295a0f768f686.tar.gz CMake-cc4e30480025d942bcedb762635295a0f768f686.tar.bz2 |
Tests: Fix CFBundleTest for Ninja Multi-Config
-rw-r--r-- | Tests/CFBundleTest/VerifyResult.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CFBundleTest/VerifyResult.cmake b/Tests/CFBundleTest/VerifyResult.cmake index e637bb1..ac14e5d 100644 --- a/Tests/CFBundleTest/VerifyResult.cmake +++ b/Tests/CFBundleTest/VerifyResult.cmake @@ -14,7 +14,7 @@ message(STATUS "CTEST_CONFIGURATION_TYPE='${CTEST_CONFIGURATION_TYPE}'") message(STATUS "dir='${dir}'") message(STATUS "gen='${gen}'") -if(gen STREQUAL "Xcode") +if(gen MATCHES "^(Xcode$|Ninja Multi-Config$)") set(expected_filename "${dir}/${CTEST_CONFIGURATION_TYPE}/CFBundleTest.plugin/Contents/MacOS/CFBundleTest") else() set(expected_filename "${dir}/CFBundleTest.plugin/Contents/MacOS/CFBundleTest") |