diff options
author | Kenneth Heafield <kheafiel@amazon.com> | 2020-03-05 17:46:08 +0300 |
---|---|---|
committer | Kenneth Heafield <kheafiel@amazon.com> | 2020-03-05 17:46:08 +0300 |
commit | c9da73d69fe1a208e8e8953dbd0c3170dda51120 (patch) | |
tree | 7a705e07a24325d808827c09896d4e8019adf533 | |
parent | 39ddb9950399565d11990cbaf7507b86dd27acc9 (diff) |
Change to option for OpenMP
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f29ccff..8fcdfd7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,8 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) add_library(intgemm STATIC intgemm.cc) -if (OPENMP) +option(USE_OPENMP "Use OpenMP" OFF) +if (USE_OPENMP) message(STATUS "Compiling with OpenMP") find_package(OpenMP) if (NOT ${OpenMP_CXX_FOUND}) |