Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LoadStaticSharedTargets
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CMake
LoadStaticSharedTargets
Commits
ff77d8e6
Unverified
Commit
ff77d8e6
authored
1 year ago
by
Tim Kaune
Browse files
Options
Downloads
Patches
Plain Diff
Bump required CMake version to 3.25
Also bump JSON Schema version of CMakePresets.json.
parent
2df5cd46
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+4
-4
4 additions, 4 deletions
CMakeLists.txt
CMakePresets.json
+3
-3
3 additions, 3 deletions
CMakePresets.json
with
7 additions
and
7 deletions
CMakeLists.txt
+
4
−
4
View file @
ff77d8e6
...
...
@@ -23,12 +23,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
]]
cmake_minimum_required
(
VERSION 3.2
3
)
cmake_minimum_required
(
VERSION 3.2
5
)
# If CMake >=3.24 is used, set policies up to v3.24 to NEW
if
(
NOT
${
CMAKE_VERSION
}
VERSION_LESS 3.24
)
cmake_policy
(
VERSION 3.24
)
endif
()
#
if (NOT ${CMAKE_VERSION} VERSION_LESS 3.24)
#
cmake_policy(VERSION 3.24)
#
endif()
project
(
LoadStaticSharedTargets VERSION 1.3.0 LANGUAGES NONE
)
...
...
This diff is collapsed.
Click to expand it.
CMakePresets.json
+
3
−
3
View file @
ff77d8e6
{
"version"
:
4
,
"version"
:
6
,
"cmakeMinimumRequired"
:
{
"major"
:
3
,
"minor"
:
2
3
,
"minor"
:
2
5
,
"patch"
:
0
},
"configurePresets"
:
[
{
"name"
:
"default"
,
"displayName"
:
"Default Release Build"
,
"generator"
:
"
Unix Makefiles
"
,
"generator"
:
"
Ninja
"
,
"binaryDir"
:
"${sourceDir}/build"
,
"warnings"
:
{
"dev"
:
false
...
...
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