summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch')
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch b/meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch
index 3c87d4d8b3..ac9400c48d 100644
--- a/meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch
+++ b/meta/recipes-devtools/libdnf/libdnf/0001-Add-WITH_TESTS-option.patch
@@ -1,4 +1,4 @@
1From e5a50db749b2b02e9e0cff9f7b639020e8ac76da Mon Sep 17 00:00:00 2001 1From 56fa2bbdbd29377a6ef0d0b7aadbac8b5ea8c95b Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 6 Nov 2018 13:54:43 +0100 3Date: Tue, 6 Nov 2018 13:54:43 +0100
4Subject: [PATCH] Add WITH_TESTS option 4Subject: [PATCH] Add WITH_TESTS option
@@ -14,18 +14,18 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
14 2 files changed, 5 insertions(+) 14 2 files changed, 5 insertions(+)
15 15
16diff --git a/CMakeLists.txt b/CMakeLists.txt 16diff --git a/CMakeLists.txt b/CMakeLists.txt
17index ce88b9e3..7a99320a 100644 17index 881152a..965c992 100644
18--- a/CMakeLists.txt 18--- a/CMakeLists.txt
19+++ b/CMakeLists.txt 19+++ b/CMakeLists.txt
20@@ -32,6 +32,7 @@ option(WITH_HTML "Enables hawkey HTML generation" ON) 20@@ -33,6 +33,7 @@ option(WITH_MAN "Enables hawkey man page generation" ON)
21 option(WITH_MAN "Enables hawkey man page generation" ON) 21 option(WITH_ZCHUNK "Build with zchunk support" ON)
22 option(ENABLE_RHSM_SUPPORT "Build with Red Hat Subscription Manager support?" OFF) 22 option(ENABLE_RHSM_SUPPORT "Build with Red Hat Subscription Manager support?" OFF)
23 option(ENABLE_SOLV_URPMREORDER "Build with support for URPM-like solution reordering?" OFF) 23 option(ENABLE_SOLV_URPMREORDER "Build with support for URPM-like solution reordering?" OFF)
24+option(WITH_TESTS "Enables unit tests" ON) 24+option(WITH_TESTS "Enables unit tests" ON)
25 25
26 26
27 # load pkg-config first; it's required by other modules 27 # load pkg-config first; it's required by other modules
28@@ -158,8 +159,10 @@ endif() 28@@ -165,8 +166,10 @@ endif()
29 29
30 30
31 # build tests 31 # build tests
@@ -37,7 +37,7 @@ index ce88b9e3..7a99320a 100644
37 add_subdirectory(python/hawkey) 37 add_subdirectory(python/hawkey)
38 endif() 38 endif()
39diff --git a/python/hawkey/CMakeLists.txt b/python/hawkey/CMakeLists.txt 39diff --git a/python/hawkey/CMakeLists.txt b/python/hawkey/CMakeLists.txt
40index d9645346..84d17204 100644 40index d964534..84d1720 100644
41--- a/python/hawkey/CMakeLists.txt 41--- a/python/hawkey/CMakeLists.txt
42+++ b/python/hawkey/CMakeLists.txt 42+++ b/python/hawkey/CMakeLists.txt
43@@ -50,4 +50,6 @@ target_link_libraries(_hawkeymodule ${PYTHON_LIBRARY}) 43@@ -50,4 +50,6 @@ target_link_libraries(_hawkeymodule ${PYTHON_LIBRARY})