initial sandbox version

This commit is contained in:
Radovan Bast
2015-05-22 14:14:15 +02:00
parent 2622b118a8
commit 1cd4dc1eef
34 changed files with 1425 additions and 4 deletions

9
modules/UseOMP.cmake Normal file
View File

@ -0,0 +1,9 @@
option(ENABLE_OPENMP "Enable OpenMP parallelization" OFF)
if(ENABLE_OPENMP)
find_package(OpenMP)
if(OPENMP_FOUND)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} ${OpenMP_C_FLAGS}")
endif()
endif()