File: system-googletest.patch

package info (click to toggle)
tiny-dnn 1.0.0a3%2Bds-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,784 kB
  • sloc: cpp: 16,471; ansic: 11,829; lisp: 3,682; python: 3,422; makefile: 208
file content (31 lines) | stat: -rw-r--r-- 907 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: Use system-provided googletest.
Author: Andrius Merkys <merkys@debian.org>
Forwarded: not-needed
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -2,16 +2,17 @@
 enable_testing()
 
 
-include(../cmake/DownloadProject/DownloadProject.cmake)
+#include(../cmake/DownloadProject/DownloadProject.cmake)
 #set(gtest_disable_pthreads on) #TODO(randl): Windows?
-download_project(
-    PROJ googletest
-    GIT_REPOSITORY https://github.com/google/googletest.git
-    GIT_TAG master
-    UPDATE_DISCONNECTED 1
-)
+#download_project(
+#    PROJ googletest
+#    GIT_REPOSITORY https://github.com/google/googletest.git
+#    GIT_TAG master
+#    UPDATE_DISCONNECTED 1
+#)
 
-add_subdirectory(${googletest_SOURCE_DIR} ${googletest_BINARY_DIR})
+#add_subdirectory(${googletest_SOURCE_DIR} ${googletest_BINARY_DIR})
+include_directories("/usr/src/googletest/googletest/include")
 
 enable_testing()