gentoo/dev-cpp/simpleini/files/simpleini-4.22-disable-tests.patch
Ionen Wolkens 1e627a3d47
dev-cpp/simpleini: tidy a bit
- scrub patches
- pkgconfig patch is obsolete, does not matter with cmake
- can skip pkgconfig dep, always provided with cmake

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-04-21 14:05:42 -04:00

17 lines
514 B
Diff

https://github.com/brofield/simpleini/pull/75
https://github.com/brofield/simpleini/commit/f7862c3dd7ad35becc2741f268e3402e89a37666
From: Alexandre Bouvier <contact@amb.tf>
Date: Tue, 2 Jan 2024 10:54:44 +0100
Subject: [PATCH 2/2] cmake: really disable tests (#75)
--- 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()