diff options
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 08ecdf8..02cb2bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,8 +12,8 @@ option(TNG_BUILD_FORTRAN "Build Fortran compatible library and examples for test option(TNG_BUILD_EXAMPLES "Build examples showing usage of the TNG API" ON) option(TNG_BUILD_COMPRESSION_TESTS "Build tests of the TNG compression library" OFF) -option(USE_OPENMP "Try to use the OpenMP library (if available)" ON) -if(USE_OPENMP) +option(TNG_USE_OPENMP "Try to use the OpenMP library (if available)" OFF) +if(TNG_USE_OPENMP) find_package(OpenMP) if(OPENMP_FOUND) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}") |