We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10735aa commit 75c97acCopy full SHA for 75c97ac
cmake/modules/FindUnifySDK.cmake
@@ -29,6 +29,11 @@ if("${UNIFYSDK_GIT_TAG}" STREQUAL "")
29
set(UNIFYSDK_GIT_TAG "main") # Override CMake default ("master")
30
endif()
31
32
+file(GLOB UNIFYSDK_PATCHES
33
+ LIST_DIRECTORIES false
34
+ ${PROJECT_SOURCE_DIR}/patches/UnifySDK/*.patch
35
+)
36
+
37
find_package(Git)
38
FetchContent_Declare(
39
UnifySDK
@@ -41,9 +46,8 @@ FetchContent_Declare(
41
46
GIT_CONFIG [email protected]
42
47
43
48
PATCH_COMMAND ${GIT_EXECUTABLE}
44
- -C <SOURCE_DIR>
45
- am
- ${PROJECT_SOURCE_DIR}/patches/UnifySDK/0001-UIC-3202-Relax-compiler-warnings-to-support-more-com.patch
49
+ -C <SOURCE_DIR> am --ignore-whitespace
50
+ "${UNIFYSDK_PATCHES}"
51
)
52
53
message(STATUS "${CMAKE_PROJECT_NAME}: Depends: ${UNIFYSDK_GIT_REPOSITORY}#${UNIFYSDK_GIT_TAG}")
0 commit comments