aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2023-10-05 14:28:51 +1000
committerfuzzard <fuzzard@kodi.tv>2023-10-05 19:26:41 +1000
commit829f0f3151a9f9e6448f6472d99280cd099f7a0e (patch)
treeda97a1cf8cf0436f2bad6591bbb888fb1a655ddb /cmake/scripts
parent0f28947095977a2bc1407d7498032a4099768242 (diff)
[cmake] Refactor and simplify FindFmt.cmake
Diffstat (limited to 'cmake/scripts')
-rw-r--r--cmake/scripts/common/ModuleHelpers.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/scripts/common/ModuleHelpers.cmake b/cmake/scripts/common/ModuleHelpers.cmake
index d38e5afe7c..7bd5847974 100644
--- a/cmake/scripts/common/ModuleHelpers.cmake
+++ b/cmake/scripts/common/ModuleHelpers.cmake
@@ -425,3 +425,10 @@ macro(PATCH_LF_CHECK patch)
endif()
unset(patch_content_hex)
endmacro()
+
+# Custom property that we can track to allow us to notify to dependency find modules
+# that a dependency of that find module is being built, and therefore that higher level
+# dependency should also be built regardless of success in lib searches
+define_property(TARGET PROPERTY LIB_BUILD
+ BRIEF_DOCS "This target will be compiling the library"
+ FULL_DOCS "This target will be compiling the library")