mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 01:59:08 +08:00
6562225c92
* Add Android logging library to spdlog * Update version * Update version * Update ports/spdlog/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Update version Co-authored-by: Ahmed Yarub Hani Al Nuaimi <ahmed.alnuaimi@zwift.com> Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
16 lines
620 B
Diff
16 lines
620 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
--- a/CMakeLists.txt (revision 4a9ccf7e38e257feecce0c579a782741254eaeef)
|
|
+++ b/CMakeLists.txt (date 1616381634500)
|
|
@@ -188,6 +188,11 @@
|
|
set(PKG_CONFIG_REQUIRES fmt) # add dependency to pkg-config
|
|
endif ()
|
|
|
|
+if (ANDROID)
|
|
+ target_link_libraries(spdlog PUBLIC log)
|
|
+ target_link_libraries(spdlog_header_only INTERFACE log)
|
|
+endif ()
|
|
+
|
|
# ---------------------------------------------------------------------------------------
|
|
# Misc definitions according to tweak options
|
|
# ---------------------------------------------------------------------------------------
|