Skip to content

Commit

Permalink
escape messages to avoid CMake warning (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Aug 18, 2014
1 parent f2994ad commit a5b25e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/em/order_packages.cmake.em
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ except ImportError as e:
try:
ordered_packages = topological_order(os.path.normpath(source_root_dir), whitelisted=whitelisted_packages, blacklisted=blacklisted_packages, underlay_workspaces=underlay_workspaces)
except InvalidPackage as e:
print('message(FATAL_ERROR "%s")' % e)
print('message(FATAL_ERROR "%s")' % ('%s' % e).replace('"', '\\"'))
ordered_packages = []
fatal_error = False
}@
Expand Down

0 comments on commit a5b25e8

Please sign in to comment.