diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2012-04-12 12:45:26 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2012-04-12 12:45:26 +0400 |
commit | 20f446073c64fcffff04ce1b47a82641f4168e31 (patch) | |
tree | 5a2a983eb9b484b8c037464bf8619940bf743149 /CMakeLists.txt | |
parent | 14c527a4195e3536bb5b23910d564062443a8072 (diff) |
Took out OpenMP refactor out by mistake
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c4cdb62da5..e3ce376ff7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -149,10 +149,13 @@ mark_as_advanced(WITH_AUDASPACE) # (unix defaults to OpenMP On) if(UNIX AND NOT APPLE) - option(WITH_OPENMP "Enable OpenMP (has to be supported by the compiler)" ON) + set(PLATFORM_DEFAULT ON) else() - option(WITH_OPENMP "Enable OpenMP (has to be supported by the compiler)" OFF) + set(PLATFORM_DEFAULT OFF) endif() +option(WITH_OPENMP "Enable OpenMP (has to be supported by the compiler)" PLATFORM_DEFAULT) +unset(PLATFORM_DEFAULT) + if(UNIX AND NOT APPLE) option(WITH_X11_XINPUT "Enable X11 Xinput (tablet support and unicode input)" ON) |