diff options
| author | Yuri Konotopov <ykonotopov@gnome.org> | 2024-04-21 21:23:25 +0400 |
|---|---|---|
| committer | Ionen Wolkens <ionen@gentoo.org> | 2024-04-21 14:05:42 -0400 |
| commit | 48d2fe7cc6773b8a7efd0f42e1f2f044af3e54f7 (patch) | |
| tree | 63329dee8203c27138f7863afb08536dea63539d /dev-cpp/simpleini/files/simpleini-4.22-disable-tests.patch | |
| parent | 36c7d400cda7e81d361764954da2b872201ec07b (diff) | |
| download | gentoo-48d2fe7cc6773b8a7efd0f42e1f2f044af3e54f7.tar.gz gentoo-48d2fe7cc6773b8a7efd0f42e1f2f044af3e54f7.tar.bz2 gentoo-48d2fe7cc6773b8a7efd0f42e1f2f044af3e54f7.zip | |
dev-cpp/simpleini: install cmake config files
Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org>
Closes: https://github.com/gentoo/gentoo/pull/36344
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-cpp/simpleini/files/simpleini-4.22-disable-tests.patch')
| -rw-r--r-- | dev-cpp/simpleini/files/simpleini-4.22-disable-tests.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-cpp/simpleini/files/simpleini-4.22-disable-tests.patch b/dev-cpp/simpleini/files/simpleini-4.22-disable-tests.patch new file mode 100644 index 000000000000..380c50d587e7 --- /dev/null +++ b/dev-cpp/simpleini/files/simpleini-4.22-disable-tests.patch @@ -0,0 +1,25 @@ +From f7862c3dd7ad35becc2741f268e3402e89a37666 Mon Sep 17 00:00:00 2001 +From: Alexandre Bouvier <contact@amb.tf> +Date: Tue, 2 Jan 2024 10:54:44 +0100 +Subject: [PATCH 2/2] cmake: really disable tests (#75) + +--- + CMakeLists.txt | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 7804947..4b360ad 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -72,5 +72,7 @@ target_include_directories(${PROJECT_NAME} INTERFACE + + if(IS_TOPLEVEL_PROJECT) + include(CTest) +- add_subdirectory(tests) ++ if(BUILD_TESTING) ++ add_subdirectory(tests) ++ endif() + endif() +-- +2.43.2 + |
