Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
CMake
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3,195
Issues
3,195
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CMake
CMake
Commits
79b7fe9d
Commit
79b7fe9d
authored
Feb 01, 2012
by
David Cole
Committed by
Kitware Robot
Feb 01, 2012
Browse files
Options
Browse Files
Download
Plain Diff
Merge topic 'more-bison-version'
3cc11c2f
FindBISON: add a version expression for GNU Bison 1.x
parents
a3982c15
3cc11c2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Modules/FindBISON.cmake
Modules/FindBISON.cmake
+3
-2
No files found.
Modules/FindBISON.cmake
View file @
79b7fe9d
...
...
@@ -75,8 +75,9 @@ IF(BISON_EXECUTABLE)
ELSEIF
(
"
${
BISON_version_output
}
"
MATCHES
"^bison[^+]"
)
STRING
(
REGEX REPLACE
"^bison
\\
(GNU Bison
\\
) ([^
\n
]+)
\n
.*"
"
\\
1"
BISON_VERSION
"
${
BISON_version_output
}
"
)
ELSE
()
SET
(
BISON_VERSION
"unknown"
)
ELSEIF
(
"
${
BISON_version_output
}
"
MATCHES
"^GNU Bison "
)
STRING
(
REGEX REPLACE
"^GNU Bison (version )?([^
\n
]+).*"
"
\\
2"
BISON_VERSION
"
${
BISON_version_output
}
"
)
ENDIF
()
ENDIF
()
...
...
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