Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moose
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sahil Moza
moose
Commits
a68f4f24
Commit
a68f4f24
authored
7 years ago
by
Dilawar Singh
Browse files
Options
Downloads
Patches
Plain Diff
Fixed to CMP0048 missing policy error. Fix found at Qucs/qucs#66.
Conflicts: CMakeLists.txt
parent
8afb4db9
No related branches found
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
+19
-1
19 additions, 1 deletion
CMakeLists.txt
with
19 additions
and
1 deletion
CMakeLists.txt
+
19
−
1
View file @
a68f4f24
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
PROJECT
(
MOOSE
)
set
(
_MOOSE_VERSION_
"3.2"
)
project
(
moose
)
if
(
POLICY CMP0048
)
cmake_policy
(
SET CMP0048 OLD
)
endif
(
POLICY CMP0048
)
# If from command line, version info is not passed, use the git to generate a
# version file. If GIT fails, use the previous known version.
find_program
(
GIT_EXEC
"git"
)
message
(
STATUS
"Looking for git
${
GIT_EXEC
}
"
)
if
(
(
NOT MOOSE_VERSION
)
AND GIT_EXEC
)
execute_process
(
COMMAND
${
GIT_EXEC
}
describe --tags --long
WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
OUTPUT_VARIABLE MOOSE_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE
)
endif
(
)
message
(
STATUS
"Building version
${
MOOSE_VERSION
}
"
)
# Options to pass down to moose-core
option
(
WITH_DOC
"Build documentation"
OFF
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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