Skip to content
Snippets Groups Projects
Commit 1096581b authored by Markus Blatt's avatar Markus Blatt
Browse files

[Merge][CMake] Merged revisions : 7003

Revision  r7003
.----------------------
At some places quotation marks trick CMake into misinterpreting a list
of files as one file with semicolons in the name.

.----------------------


[[Imported from SVN: r7333]]
parents 4fe56895 b5e05207
Branches
Tags
No related merge requests found
......@@ -120,7 +120,7 @@ class installer:
if not (var.strip().startswith('noinst_')
or var.strip().startswith('check_')
or var.strip().startswith('dist_noinst_')):
s= s+"\ninstall("+self.install_prefix+" \"${"+var+"}\" DESTINATION ${"+install_dir+"})"
s= s+"\ninstall("+self.install_prefix+" ${"+var+"} DESTINATION ${"+install_dir+"})"
return s
class target_flags:
......@@ -458,7 +458,7 @@ def am_2_cmake_string(amstring):
if docs_present.found:
s=s+''.join(['\n# Install documentation',
'\n# We assume that ${DOCFILES} and ${DOCFILES_EXTRA} are targets\n',
'install(TARGETS \"${DOCFILES}\" ${DOCFILES_EXTRA} DESTINATION ${docdir})\n'])
'install(TARGETS ${DOCFILES} ${DOCFILES_EXTRA} DESTINATION ${docdir})\n'])
return s
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment