diff options
author | Simon Warta <[email protected]> | 2017-04-16 18:53:35 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2017-04-16 21:46:36 +0200 |
commit | 1c676da13fd9f18420f66783bfd7ddcaad5dfab7 (patch) | |
tree | f41ec1f0ef51d5006187dc24cc38896086c5fa1a | |
parent | df7da4a60d486038410f85b9979fd01e9a37213f (diff) |
cmake: Add missing quotes around set_source_files_properties argument
otherwise only the first isa argument is used in the build
-rwxr-xr-x | configure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py index 741c06b60..09efeec2a 100755 --- a/configure.py +++ b/configure.py @@ -1476,7 +1476,7 @@ class CmakeGenerator(object): for source in sorted_sources: joined_isa_flags = ' '.join(target['sources'][source]['isa_flags']) if joined_isa_flags: - fd.write('set_source_files_properties(${CMAKE_CURRENT_LIST_DIR}%s%s PROPERTIES COMPILE_FLAGS %s)\n' + fd.write('set_source_files_properties(${CMAKE_CURRENT_LIST_DIR}%s%s PROPERTIES COMPILE_FLAGS "%s")\n' % (os.sep, os.path.normpath(source), joined_isa_flags)) @staticmethod |