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,199
Issues
3,199
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
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
cb1afbf4
Commit
cb1afbf4
authored
Jan 08, 2013
by
Stephen Kelly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't pass a position when determining if a target name is a literal.
The lastPos refers to a position in a different string.
parent
f99196dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Source/cmExportFileGenerator.cxx
Source/cmExportFileGenerator.cxx
+1
-1
No files found.
Source/cmExportFileGenerator.cxx
View file @
cb1afbf4
...
...
@@ -270,7 +270,7 @@ cmExportFileGenerator::ResolveTargetsInGeneratorExpressions(
}
const
std
::
string
targetName
=
input
.
substr
(
nameStartPos
,
endPos
-
nameStartPos
);
if
(
targetName
.
find
(
"$<"
,
lastPos
)
!=
input
.
npos
)
if
(
targetName
.
find
(
"$<"
)
!=
input
.
npos
)
{
errorString
=
"$<TARGET_NAME:...> requires its parameter to be a "
"literal."
;
...
...
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