Add cmake module to check the -fompss-2 flag
This commit is contained in:
parent
f2e8e46fcb
commit
5a7f7b0f70
4
cmake/CheckOmpSs2Compiler.cmake
Normal file
4
cmake/CheckOmpSs2Compiler.cmake
Normal file
@ -0,0 +1,4 @@
|
||||
include(CheckCCompilerFlag)
|
||||
|
||||
set(CMAKE_REQUIRED_LINK_OPTIONS "-fompss-2")
|
||||
check_c_compiler_flag("-fompss-2" OMPSS2_COMPILER_FOUND)
|
Loading…
Reference in New Issue
Block a user