Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
glog
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
glog
Commits
8453b085
Commit
8453b085
authored
9 years ago
by
Sergiu Dotenco
Committed by
Sergiu Dotenco
9 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: link to libunwind
parent
05746ed7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
CMakeLists.txt
CMakeLists.txt
+7
-0
No files found.
CMakeLists.txt
View file @
8453b085
...
...
@@ -104,6 +104,9 @@ check_symbol_exists (snprintf stdio.h HAVE_SNPRINTF)
check_library_exists
(
unwind get_static_proc_name
""
HAVE_LIB_UNWIND
)
find_library
(
UNWIND_LIBRARY NAMES unwind DOC
"unwind library"
)
mark_as_advanced
(
UNWIND_LIBRARY
)
check_c_source_compiles
(
"
#include <stdlib.h>
static void foo(void) __attribute__ ((unused));
...
...
@@ -358,6 +361,10 @@ add_library (glog
${
GLOG_SRCS
}
)
if (UNWIND_LIBRARY)
target_link_libraries (glog PUBLIC
${
UNWIND_LIBRARY
}
)
endif (UNWIND_LIBRARY)
if (WIN32 AND HAVE_SNPRINTF)
set_property (SOURCE src/windows/port.cc APPEND PROPERTY COMPILE_DEFINITIONS
HAVE_SNPRINTF)
...
...
This diff is collapsed.
Click to expand it.
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