aboutsummaryrefslogtreecommitdiff
path: root/devel/simpleini/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'devel/simpleini/files/patch-CMakeLists.txt')
-rw-r--r--devel/simpleini/files/patch-CMakeLists.txt17
1 files changed, 9 insertions, 8 deletions
diff --git a/devel/simpleini/files/patch-CMakeLists.txt b/devel/simpleini/files/patch-CMakeLists.txt
index 835b583840f6..55a6a21cdb34 100644
--- a/devel/simpleini/files/patch-CMakeLists.txt
+++ b/devel/simpleini/files/patch-CMakeLists.txt
@@ -1,10 +1,11 @@
---- CMakeLists.txt.orig 2023-12-29 02:44:28 UTC
+--- CMakeLists.txt.orig 2025-11-13 10:32:32 UTC
+++ CMakeLists.txt
-@@ -34,6 +34,7 @@ add_library(${EXPORT_NAMESPACE}${PROJECT_NAME} ALIAS $
-
- add_library(${PROJECT_NAME} INTERFACE)
- add_library(${EXPORT_NAMESPACE}${PROJECT_NAME} ALIAS ${PROJECT_NAME})
-+target_compile_definitions(${PROJECT_NAME} INTERFACE SI_NO_CONVERSION)
-
- include(GNUInstallDirs)
+@@ -80,7 +80,7 @@ install(FILES
+ )
+ # only build tests when top level and testing enabled
+-if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
++if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND SIMPLEINI_BUILD_TESTS)
+ include(CTest)
+ if(BUILD_TESTING)
+ add_subdirectory(tests)