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
95cde7af
Commit
95cde7af
authored
Mar 27, 2015
by
Sergiu Dotenco
Committed by
Sergiu Dotenco
Jul 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: disabled 'template argument uses unnamed type' warning
parent
5aee7c78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
CMakeLists.txt
CMakeLists.txt
+6
-0
No files found.
CMakeLists.txt
View file @
95cde7af
...
@@ -95,6 +95,8 @@ check_function_exists (sigaction HAVE_SIGACTION)
...
@@ -95,6 +95,8 @@ check_function_exists (sigaction HAVE_SIGACTION)
check_function_exists
(
sigaltstack HAVE_SIGALSTACK
)
check_function_exists
(
sigaltstack HAVE_SIGALSTACK
)
check_cxx_compiler_flag
(
-Wno-deprecated HAVE_NO_DEPRECATED
)
check_cxx_compiler_flag
(
-Wno-deprecated HAVE_NO_DEPRECATED
)
check_cxx_compiler_flag
(
-Wno-unnamed-type-template-args
HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS
)
# NOTE: Cannot use check_function_exists here since >=vc-14.0 can define
# NOTE: Cannot use check_function_exists here since >=vc-14.0 can define
# snprintf as an inline function
# snprintf as an inline function
...
@@ -361,6 +363,10 @@ if (WIN32 AND HAVE_SNPRINTF)
...
@@ -361,6 +363,10 @@ if (WIN32 AND HAVE_SNPRINTF)
HAVE_SNPRINTF)
HAVE_SNPRINTF)
endif (WIN32 AND HAVE_SNPRINTF)
endif (WIN32 AND HAVE_SNPRINTF)
if (HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS)
target_compile_options (glog PUBLIC -Wno-unnamed-type-template-args)
endif (HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS)
if (gflags_FOUND)
if (gflags_FOUND)
target_include_directories (glog PUBLIC
${
gflags_INCLUDE_DIR
}
)
target_include_directories (glog PUBLIC
${
gflags_INCLUDE_DIR
}
)
target_link_libraries (glog PUBLIC
${
gflags_LIBRARIES
}
)
target_link_libraries (glog PUBLIC
${
gflags_LIBRARIES
}
)
...
...
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