Commit f1ccc4a3 authored by Guolin Ke's avatar Guolin Ke
Browse files

change openmp to REQUIRED

parent 637dc0a2
......@@ -13,7 +13,7 @@ else()
ADD_DEFINITIONS(-DUSE_SOCKET)
endif(USE_MPI)
find_package(OpenMP)
find_package(OpenMP REQUIRED)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment