Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
removed REQUIRED from find_package(OpenMP)
  • Loading branch information
bbercovici committed Apr 20, 2018
2 parents 3a5f1df + aec3f29 commit 3dd1ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ find_package(Armadillo REQUIRED)
include_directories(${ARMADILLO_INCLUDE_DIRS})

# Find OpenMP
find_package(OpenMP REQUIRED)
find_package(OpenMP)
if (OpenMP_FOUND)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
Expand Down

0 comments on commit 3dd1ec3

Please # to comment.