2017-11-30 03:31:48 +08:00
|
|
|
include(CheckCCompilerFlag)
|
|
|
|
include(CheckCXXCompilerFlag)
|
|
|
|
|
|
|
|
check_c_compiler_flag(-Werror OPENMP_HAVE_WERROR_FLAG)
|
|
|
|
|
2018-12-11 23:39:22 +08:00
|
|
|
check_cxx_compiler_flag(-std=gnu++11 OPENMP_HAVE_STD_GNUPP11_FLAG)
|
|
|
|
check_cxx_compiler_flag(-std=c++11 OPENMP_HAVE_STD_CPP11_FLAG)
|