diff --git a/cmake/CheckOmpSs2Compiler.cmake b/cmake/CheckOmpSs2Compiler.cmake new file mode 100644 index 0000000..fe298b6 --- /dev/null +++ b/cmake/CheckOmpSs2Compiler.cmake @@ -0,0 +1,4 @@ +include(CheckCCompilerFlag) + +set(CMAKE_REQUIRED_LINK_OPTIONS "-fompss-2") +check_c_compiler_flag("-fompss-2" OMPSS2_COMPILER_FOUND)