Add cmake module to check the -fompss-2 flag

This commit is contained in:
Rodrigo Arias 2023-05-31 19:15:47 +02:00
parent f2e8e46fcb
commit 5a7f7b0f70

View File

@ -0,0 +1,4 @@
include(CheckCCompilerFlag)
set(CMAKE_REQUIRED_LINK_OPTIONS "-fompss-2")
check_c_compiler_flag("-fompss-2" OMPSS2_COMPILER_FOUND)