diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-02-12 07:51:02 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2014-02-12 07:51:02 (GMT) |
commit | a75ce54577a734af216565793d17f3c44331a8c5 (patch) | |
tree | 9cbb0f895b2d7578d863723b3d2927cbd245ef90 /CMakeLists.txt | |
parent | cc47950e84ed4c0a3d0a32d98bb3da0080467278 (diff) |
Remove OpenMP option.
It was only used for building some of the examples. Now, those
example are only built if OpenMP is found.
Change-Id: I816a52595fb00bb729adce83477f8e2f35dd6761
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a44649..52cf7aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,15 +18,6 @@ option(TNG_BUILD_EXAMPLES "Build examples showing usage of the TNG API" ON) option(TNG_BUILD_TEST "Build TNG testing binary." ON) option(TNG_BUILD_COMPRESSION_TESTS "Build tests of the TNG compression library" OFF) -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}") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}") - endif() -endif() - find_package(ZLIB QUIET) include(CheckIncludeFile) |