aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2022-05-26 18:02:37 +1000
committerfuzzard <fuzzard@kodi.tv>2022-06-01 19:10:35 +1000
commit6d327f6fc5c6e68f23eb7326bd3d4b8b7491de81 (patch)
treef2e254f39f80beaad1cc5743b36bf705100fd1a9 /CMakeLists.txt
parent5dfb2923e7f2937c907f2a4462b44ea95fb179fb (diff)
[cmake] Fmt use Fmt::Fmt target for depends
Implement Fmt::Fmt target to allow adding dependency target for ENABLE_INTERNAL_FMT.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 99fd917e49..8037c99679 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -258,7 +258,7 @@ list(APPEND install_data ${ADDON_INSTALL_DATA})
add_library(compileinfo OBJECT ${CORE_BUILD_DIR}/xbmc/CompileInfo.cpp)
set_target_properties(compileinfo PROPERTIES FOLDER "Build Utilities")
target_compile_options(compileinfo PRIVATE "${SYSTEM_DEFINES} ${ARCH_DEFINES}")
-add_dependencies(compileinfo fmt)
+add_dependencies(compileinfo fmt::fmt)
if(NOT MSVC)
target_compile_options(compileinfo PUBLIC ${CORE_COMPILE_OPTIONS})