Skip to content

Commit

Permalink
Add include directories for OpenMP
Browse files Browse the repository at this point in the history
  • Loading branch information
onurulgen committed Mar 8, 2024
1 parent ebf0387 commit f680bce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,12 @@ if(USE_OPENMP)
message(STATUS "Found OpenMP")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
if (OpenMP_C_INCLUDE_DIRS)
include_directories(${OpenMP_C_INCLUDE_DIRS})
endif(OpenMP_C_INCLUDE_DIRS)
if (OpenMP_CXX_INCLUDE_DIRS)
include_directories(${OpenMP_CXX_INCLUDE_DIRS})
endif(OpenMP_CXX_INCLUDE_DIRS)
endif(NOT OPENMP_FOUND)
endif(USE_OPENMP)
#-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion niftyreg_build_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
421
422

0 comments on commit f680bce

Please sign in to comment.