From 20f446073c64fcffff04ce1b47a82641f4168e31 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Thu, 12 Apr 2012 08:45:26 +0000 Subject: Took out OpenMP refactor out by mistake --- CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3