@ -39,6 +39,7 @@ endif()
CHECK_CXX_COMPILER_FLAG(-fopenmp COMPILER_SUPPORTS_OPENMP)
if(COMPILER_SUPPORTS_OPENMP)
set(default_options ${default_options} -fopenmp)
set(linker_options ${linker_options} -fopenmp)
else()
message(FATAL_ERROR "The compiler ${CMAKE_CXX_COMPILER} has no OpenMP support. Please use a different C++ compiler.")
endif()