Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
8bd4c87d
Unverified
Commit
8bd4c87d
authored
Oct 08, 2018
by
Gabi Melman
Committed by
GitHub
Oct 08, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #856 from ulvgard/cmake_android_log_dependency
Add dependency to Android's log target in CMake
parents
c88b5686
f01da91a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
CMakeLists.txt
example/CMakeLists.txt
+7
-1
No files found.
example/CMakeLists.txt
View file @
8bd4c87d
...
...
@@ -32,7 +32,13 @@ endif()
find_package
(
Threads REQUIRED
)
add_executable
(
example example.cpp
)
target_link_libraries
(
example spdlog::spdlog Threads::Threads
)
if
(
CMAKE_SYSTEM_NAME STREQUAL
"Android"
)
find_library
(
log-lib log
)
target_link_libraries
(
example spdlog::spdlog Threads::Threads log
)
else
()
target_link_libraries
(
example spdlog::spdlog Threads::Threads
)
endif
()
add_executable
(
multisink multisink.cpp
)
target_link_libraries
(
multisink spdlog::spdlog Threads::Threads
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment