fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / in / iniparser / remove-fetchcontent-usage.patch
blobdb96c37e6b2ca3ef3d773500e1bdf20cf57be3a3
1 diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
2 index b28d151..33a6bcf 100644
3 --- a/test/CMakeLists.txt
4 +++ b/test/CMakeLists.txt
5 @@ -28,10 +28,8 @@ set(FETCHCONTENT_QUIET OFF)
7 FetchContent_Declare(
8 unity
9 - GIT_REPOSITORY "https://github.com/throwtheswitch/unity.git"
10 - GIT_PROGRESS TRUE
11 - PATCH_COMMAND ${CMAKE_COMMAND} -E copy
12 - ${CMAKE_CURRENT_LIST_DIR}/unity_config.h ./src/)
13 + SOURCE_DIR @unitySrc@
16 FetchContent_MakeAvailable(unity)
17 target_compile_definitions(unity PUBLIC UNITY_INCLUDE_CONFIG_H)