Commit a453cb48 authored by Luca Barbato's avatar Luca Barbato Committed by Tom Finegan

cmake: Separate the flags

Allows to pass "-mvsx -maltivec" to the function and pass "-mvsx"
"-maltivec" to the compiler.

Another preliminary patch for the PowerPC support.

Change-Id: I2cb8a5b7964f5ab68ae2ff48b7ffa4a8a7723942
parent b18cfd3a
......@@ -45,6 +45,7 @@ function (add_intrinsics_object_library flag opt_name target_to_update sources
endif ()
if (flag)
separate_arguments(flag)
target_compile_options(${target_name} PUBLIC ${flag})
endif ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment