Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rapidjson
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pirvi-public
rapidjson
Commits
ebd87cb4
Commit
ebd87cb4
authored
1 year ago
by
Christian Fersch
Committed by
Milo Yip
7 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Increase CMake minimum version to 3.5 (fixes #2159)
parent
858451e5
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+2
-14
2 additions, 14 deletions
CMakeLists.txt
with
2 additions
and
14 deletions
CMakeLists.txt
+
2
−
14
View file @
ebd87cb4
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8.12
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 3.5
)
if
(
POLICY CMP0025
)
# detect Apple's Clang
cmake_policy
(
SET CMP0025 NEW
)
endif
()
if
(
POLICY CMP0054
)
cmake_policy
(
SET CMP0054 NEW
)
endif
()
SET
(
CMAKE_MODULE_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/CMakeModules
)
SET
(
CMAKE_MODULE_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/CMakeModules
)
...
@@ -14,12 +7,7 @@ set(LIB_MINOR_VERSION "1")
...
@@ -14,12 +7,7 @@ set(LIB_MINOR_VERSION "1")
set
(
LIB_PATCH_VERSION
"0"
)
set
(
LIB_PATCH_VERSION
"0"
)
set
(
LIB_VERSION_STRING
"
${
LIB_MAJOR_VERSION
}
.
${
LIB_MINOR_VERSION
}
.
${
LIB_PATCH_VERSION
}
"
)
set
(
LIB_VERSION_STRING
"
${
LIB_MAJOR_VERSION
}
.
${
LIB_MINOR_VERSION
}
.
${
LIB_PATCH_VERSION
}
"
)
if
(
CMAKE_VERSION VERSION_LESS 3.0
)
PROJECT
(
RapidJSON CXX
)
else
()
cmake_policy
(
SET CMP0048 NEW
)
PROJECT
(
RapidJSON VERSION
"
${
LIB_VERSION_STRING
}
"
LANGUAGES CXX
)
PROJECT
(
RapidJSON VERSION
"
${
LIB_VERSION_STRING
}
"
LANGUAGES CXX
)
endif
()
# compile in release with debug info mode by default
# compile in release with debug info mode by default
if
(
NOT CMAKE_BUILD_TYPE
)
if
(
NOT CMAKE_BUILD_TYPE
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment