Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Corryvreckan
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fabian Simon Lex
Corryvreckan
Commits
3ccb03ba
Commit
3ccb03ba
authored
4 years ago
by
Jens Kroeger
Browse files
Options
Downloads
Patches
Plain Diff
Bump default to v2.0 in CMakeLists.txt
parent
18285eb0
Branches
anmorris-test-PR
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+2
-2
2 additions, 2 deletions
CMakeLists.txt
with
2 additions
and
2 deletions
CMakeLists.txt
+
2
−
2
View file @
3ccb03ba
...
...
@@ -3,13 +3,13 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.4.3 FATAL_ERROR)
IF
(
COMMAND CMAKE_POLICY
)
CMAKE_POLICY
(
SET CMP0003 NEW
)
# change linker path search behaviour
CMAKE_POLICY
(
SET CMP0048 NEW
)
# set project version
IF
(
${
CMAKE_VERSION
}
VERSION_GREATER
"3.13"
)
IF
(
${
CMAKE_VERSION
}
VERSION_GREATER
"3.13"
)
CMAKE_POLICY
(
SET CMP0077 NEW
)
# allow overwriting options with normal variables
ENDIF
()
ENDIF
(
COMMAND CMAKE_POLICY
)
# Set default version
SET
(
CORRYVRECKAN_VERSION
"v
1
.0"
)
SET
(
CORRYVRECKAN_VERSION
"v
2
.0"
)
# Set default 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