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
63871d3e
Unverified
Commit
63871d3e
authored
Jan 04, 2018
by
Mizux
Committed by
GitHub
Jan 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use target gflags instead of old VARIABLES
parent
a92e1d95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
DetermineGflagsNamespace.cmake
cmake/DetermineGflagsNamespace.cmake
+2
-2
No files found.
cmake/DetermineGflagsNamespace.cmake
View file @
63871d3e
...
...
@@ -34,8 +34,8 @@ int main(int argc, char**argv)
try_compile
(
${
VARIABLE
}
"
${
CMAKE_BINARY_DIR
}
"
"
${
_check_file
}
"
COMPILE_DEFINITIONS
"
${
CMAKE_REQUIRED_DEFINITIONS
}
"
-DGFLAGS_NAMESPACE=
${
_namespace
}
LINK_LIBRARIES
"
${
gflags_LIBRARIES
}
"
CMAKE_FLAGS -DCMAKE_BUILD_TYPE=
${
CMAKE_BUILD_TYPE
}
"-DINCLUDE_DIRECTORIES:STRING=
${
gflags_INCLUDE_DIR
}
"
LINK_LIBRARIES
gflags
CMAKE_FLAGS -DCMAKE_BUILD_TYPE=
${
CMAKE_BUILD_TYPE
}
OUTPUT_VARIABLE OUTPUT
)
if
(
${
VARIABLE
}
)
...
...
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