File: Use-system-gtest.patch

package info (click to toggle)
arrayfire 3.3.2%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 109,016 kB
  • sloc: cpp: 127,909; lisp: 6,878; python: 3,923; ansic: 1,051; sh: 347; makefile: 338; xml: 175
file content (21 lines) | stat: -rw-r--r-- 754 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Ghislain Antony Vaillant <ghisvail@gmail.com>
Date: Tue, 17 Nov 2015 12:04:49 +0000
Subject: Use system gtest.

---
 test/CMakeModules/build_gtest.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/CMakeModules/build_gtest.cmake b/test/CMakeModules/build_gtest.cmake
index eb4a0ad..d0b4001 100644
--- a/test/CMakeModules/build_gtest.cmake
+++ b/test/CMakeModules/build_gtest.cmake
@@ -51,7 +51,7 @@ ExternalProject_Add(
     ${BUILD_NAME}
     # URL http://googletest.googlecode.com/files/gtest-1.7.0.zip
     # URL_MD5 2d6ec8ccdf5c46b05ba54a9fd1d130d7
-    SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../test/gtest"
+    SOURCE_DIR "/usr/src/gtest"
     PREFIX ${prefix}
     BINARY_DIR ${BUILD_BINARY_DIR}
     TIMEOUT 10