File: 01-patch-cmakelists.diff

package info (click to toggle)
units-cpp 2.3.4%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 724 kB
  • sloc: cpp: 5,269; makefile: 3
file content (19 lines) | stat: -rw-r--r-- 708 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
Description: Disable subdirectory in CMakelists.txt
 This patch disables the subdirectory entry in CMakelists.txt to allow the archive version of gtest to run the tests.
Author: Matthias Geiger <matthias.geiger1024@tutanota.de>
Forwarded: not-needed>
Last-Update: 2023-01-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
diff --git a/CMakeLists.txt b/CMakeLists.txt
index daf4e70..538ee64 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -88,7 +88,6 @@ endif(DISABLE_IOSTREAM)
 if(BUILD_TESTS)
 	set(VERSION_GTEST "1.8.0" CACHE STRING "Google Test framework version")
 	enable_testing()
-	add_subdirectory(3rdParty/gtest)
 	add_subdirectory(unitTests)
 endif(BUILD_TESTS)