You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# OpenMPset(ROKKO_HAVE_OPENMP False)
if(NOT DISABLE_OPENMP)
find_package(OpenMP)
if(OPENMP_FOUND)
set(ROKKO_HAVE_OPENMP True)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}${OpenMP_C_FLAGS}")
set(CMAKE_CXX_FLAGS"${CMAKE_CXX_FLAGS}${OpenMP_CXX_FLAGS}")
# Almost always OpenMP flags are same both for C and for Fortran. set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS}${OpenMP_Fortran_FLAGS}")
endif(OPENMP_FOUND)
endif(NOT DISABLE_OPENMP)
修正前:
修正案:上記のset文を削除して、実行ファイルごとに以下を書くべき?
rokkoのライブラリファイルにだけ
OpenMP::OpenMP_CXX
を指定するのは、有効ではない気がする。(インクルードファイルも含むため。)The text was updated successfully, but these errors were encountered: