浏览代码

Tests: Fix FindPatch test with VS generators

Tell CTest the project used to name the `.sln` file.
Brad King 2 年之前
父节点
当前提交
04b5df1f3a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Tests/FindPatch/CMakeLists.txt

+ 1 - 0
Tests/FindPatch/CMakeLists.txt

@@ -4,5 +4,6 @@ add_test(NAME FindPatch.Test COMMAND
   "${CMake_SOURCE_DIR}/Tests/FindPatch/Test"
   "${CMake_BINARY_DIR}/Tests/FindPatch/Test"
   ${build_generator_args}
+  --build-project TestFindPatch
   --build-options ${build_options}
 )