aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/FindSpdlog.cmake
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2022-05-25 13:45:31 +1000
committerfuzzard <fuzzard@kodi.tv>2022-05-25 13:45:31 +1000
commit1e26c346e57bc92e2feb4e45ee00824f1bbb64f1 (patch)
tree607a7913a9bae3da008423999675be94aad63db2 /cmake/modules/FindSpdlog.cmake
parente22e7394f3f648323ca7543939dfc40fa7015aa8 (diff)
[cmake] fixup buildtype after #21043
set default postfix for all android libs (similar to apple) if <MODULE>_RELEASE_TYPE is forced, remove the alternative <MODULE>_LIBRARY_<TYPE> build can now handle crossguid -dbg postfix, so allow it.
Diffstat (limited to 'cmake/modules/FindSpdlog.cmake')
-rw-r--r--cmake/modules/FindSpdlog.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/modules/FindSpdlog.cmake b/cmake/modules/FindSpdlog.cmake
index ae5c68aedb..a028f16fc0 100644
--- a/cmake/modules/FindSpdlog.cmake
+++ b/cmake/modules/FindSpdlog.cmake
@@ -18,6 +18,9 @@ if(ENABLE_INTERNAL_SPDLOG)
set(MODULE_LC spdlog)
+ # spdlog debug uses postfix d for all platforms
+ set(SPDLOG_DEBUG_POSTFIX d)
+
SETUP_BUILD_VARS()
if(APPLE)