Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
gflags
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
gflags
Commits
9ab4d115
Commit
9ab4d115
authored
Jan 29, 2018
by
Corentin Le Molgat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add VERSION to project
parent
e292e045
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
CMakeLists.txt
CMakeLists.txt
+6
-2
No files found.
CMakeLists.txt
View file @
9ab4d115
...
...
@@ -70,12 +70,16 @@
## - GFLAGS_INSTALL_SHARED_LIBS
## - GFLAGS_INSTALL_STATIC_LIBS
cmake_minimum_required
(
VERSION
2.8.1
2 FATAL_ERROR
)
cmake_minimum_required
(
VERSION
3.0.
2 FATAL_ERROR
)
if
(
POLICY CMP0042
)
cmake_policy
(
SET CMP0042 NEW
)
endif
()
if
(
POLICY CMP0048
)
cmake_policy
(
SET CMP0048 NEW
)
endif
()
# ----------------------------------------------------------------------------
# includes
include
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake/utils.cmake"
)
...
...
@@ -90,7 +94,7 @@ set (PACKAGE_BUGREPORT "https://github.com/gflags/gflags/issues")
set
(
PACKAGE_DESCRIPTION
"A commandline flags library that allows for distributed flags."
)
set
(
PACKAGE_URL
"http://gflags.github.io/gflags"
)
project
(
${
PACKAGE_NAME
}
CXX
)
project
(
${
PACKAGE_NAME
}
VERSION
${
PACKAGE_VERSION
}
LANGUAGES
CXX
)
if
(
CMAKE_VERSION VERSION_LESS 3.4
)
# C language still needed because the following required CMake modules
# (or their dependencies, respectively) are not correctly handling
...
...
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