فهرست منبع

Tests: Split RunCMake.BuildDepends make-only condition

Brad King 8 سال پیش
والد
کامیت
6d1be6e382
1فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 4 3
      Tests/RunCMake/BuildDepends/RunCMakeTest.cmake

+ 4 - 3
Tests/RunCMake/BuildDepends/RunCMakeTest.cmake

@@ -43,9 +43,10 @@ endif()
 run_BuildDepends(Custom-Symbolic-and-Byproduct)
 run_BuildDepends(Custom-Always)
 
-if(RunCMake_GENERATOR MATCHES "Make" AND
-   NOT "${RunCMake_BINARY_DIR}" STREQUAL "${RunCMake_SOURCE_DIR}")
-  run_BuildDepends(MakeInProjectOnly)
+if(RunCMake_GENERATOR MATCHES "Make")
+  if(NOT "${RunCMake_BINARY_DIR}" STREQUAL "${RunCMake_SOURCE_DIR}")
+    run_BuildDepends(MakeInProjectOnly)
+  endif()
 endif()
 
 function(run_ReGeneration)