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
ae4a3945
Commit
ae4a3945
authored
Jul 14, 2018
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Better support for newer CMake's"
This reverts commit
0eb01b83
.
parent
a317448b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
CMakeLists.txt
CMakeLists.txt
+2
-5
No files found.
CMakeLists.txt
View file @
ae4a3945
cmake_minimum_required
(
VERSION 3.1.0...3.11
)
message
(
STATUS
"CMake version:
${
CMAKE_VERSION
}
"
)
if
(
${
CMAKE_VERSION
}
VERSION_LESS 3.12
)
cmake_minimum_required
(
VERSION 3.1.0
)
cmake_policy
(
VERSION
${
CMAKE_VERSION
}
)
endif
()
# Determine if fmt is built as a subproject (using add_subdirectory)
# Determine if fmt is built as a subproject (using add_subdirectory)
# or if it is the master project.
# or if it is the master project.
set
(
MASTER_PROJECT OFF
)
set
(
MASTER_PROJECT OFF
)
if
(
CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR
)
if
(
CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR
)
set
(
MASTER_PROJECT ON
)
set
(
MASTER_PROJECT ON
)
message
(
STATUS
"CMake version:
${
CMAKE_VERSION
}
"
)
endif
()
endif
()
# Joins arguments and places the results in ${result_var}.
# 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