Use -fompss-2 flag for Nanos6

This commit is contained in:
Rodrigo Arias 2023-06-23 17:20:47 +02:00
parent 3a201d35ca
commit 3aab096ef9

View File

@ -6,7 +6,8 @@ endmacro()
macro(mk_heat_nanos6 NAME SOURCE) macro(mk_heat_nanos6 NAME SOURCE)
mk_heat_smp(${NAME} ${SOURCE}) mk_heat_smp(${NAME} ${SOURCE})
target_link_libraries(${NAME} PRIVATE Nanos6::wrapper) target_compile_options(${NAME} PRIVATE "-fompss-2=libnanos6")
target_link_options(${NAME} PRIVATE "-fompss-2=libnanos6")
endmacro() endmacro()
macro(mk_heat_nodes NAME SOURCE) macro(mk_heat_nodes NAME SOURCE)