ovni/cmake/CheckOmpSs2Compiler.cmake

5 lines
131 B
CMake
Raw Normal View History

include(CheckCCompilerFlag)
set(CMAKE_REQUIRED_LINK_OPTIONS "-fompss-2")
check_c_compiler_flag("-fompss-2" OMPSS2_COMPILER_FOUND)