diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-06-17 00:14:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-17 00:14:38 +0000 |
commit | 5243bf695be051ec78d18a41ef6dbc44c5d64cb9 (patch) | |
tree | 1b72f2f4f7b26510dcfc8f063593f811923b29e9 /pkgs/development/libraries/iniparser/remove-fetchcontent-usage.patch | |
parent | 7b8f253d6599933d883ea91c1dcfc1d3e3f60628 (diff) | |
parent | 63b875e099c14114b0dfdb21401a04de62903222 (diff) |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/development/libraries/iniparser/remove-fetchcontent-usage.patch')
-rw-r--r-- | pkgs/development/libraries/iniparser/remove-fetchcontent-usage.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/development/libraries/iniparser/remove-fetchcontent-usage.patch b/pkgs/development/libraries/iniparser/remove-fetchcontent-usage.patch new file mode 100644 index 0000000000000..db96c37e6b2ca --- /dev/null +++ b/pkgs/development/libraries/iniparser/remove-fetchcontent-usage.patch @@ -0,0 +1,17 @@ +diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt +index b28d151..33a6bcf 100644 +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -28,10 +28,8 @@ set(FETCHCONTENT_QUIET OFF) + + FetchContent_Declare( + unity +- GIT_REPOSITORY "https://github.com/throwtheswitch/unity.git" +- GIT_PROGRESS TRUE +- PATCH_COMMAND ${CMAKE_COMMAND} -E copy +- ${CMAKE_CURRENT_LIST_DIR}/unity_config.h ./src/) ++ SOURCE_DIR @unitySrc@ ++) + + FetchContent_MakeAvailable(unity) + target_compile_definitions(unity PUBLIC UNITY_INCLUDE_CONFIG_H) |