Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
0eb01b83
Commit
0eb01b83
authored
Jul 09, 2018
by
Henry Schreiner
Committed by
Victor Zverovich
Jul 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better support for newer CMake's
parent
2a4cd6d0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
CMakeLists.txt
CMakeLists.txt
+5
-2
No files found.
CMakeLists.txt
View file @
0eb01b83
message
(
STATUS
"CMake version:
${
CMAKE_VERSION
}
"
)
cmake_minimum_required
(
VERSION 3.1.0...3.11
)
cmake_minimum_required
(
VERSION 3.1.0
)
if
(
${
CMAKE_VERSION
}
VERSION_LESS 3.12
)
cmake_policy
(
VERSION
${
CMAKE_VERSION
}
)
endif
()
# Determine if fmt is built as a subproject (using add_subdirectory)
# or if it is the master project.
set
(
MASTER_PROJECT OFF
)
if
(
CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR
)
set
(
MASTER_PROJECT ON
)
message
(
STATUS
"CMake version:
${
CMAKE_VERSION
}
"
)
endif
()
# Joins arguments and places the results in ${result_var}.
...
...
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