diff --git a/indra/cmake/OPENAL.cmake b/indra/cmake/OPENAL.cmake index 49dab5c2e7dde6ecf283de93b53c9c54890e7643..df321cb9183f8be913831f664226f4e60944c858 100755 --- a/indra/cmake/OPENAL.cmake +++ b/indra/cmake/OPENAL.cmake @@ -2,11 +2,11 @@ include(Linking) include(Prebuilt) -if (NOT FMODEX OR NOT FMODSTUDIO OR LINUX) +if (LINUX) set(OPENAL ON CACHE BOOL "Enable OpenAL") -else (NOT FMODEX OR NOT FMODSTUDIO OR LINUX) +else (LINUX) set(OPENAL OFF CACHE BOOL "Enable OpenAL") -endif (NOT FMODEX OR NOT FMODSTUDIO OR LINUX) +endif (LINUX) if (OPENAL) set(OPENAL_LIB_INCLUDE_DIRS "${LIBS_PREBUILT_DIR}/include/AL")