From: Harley Laue Date: Thu, 13 May 2010 23:50:20 +0000 (-0500) Subject: Merged X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=5b4ceabfe80faa2fe0d231ad24b76a704582b3bd;p=lugaru.git Merged --- 5b4ceabfe80faa2fe0d231ad24b76a704582b3bd diff --cc CMakeLists.txt index 1f5ed78,1a17e52..ad651c9 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@@ -148,11 -148,9 +148,11 @@@ find_package(OpenGL REQUIRED # force this include dir no matter what, so we get sane headers. include_directories("${DEPDIR}/OpenGL") - option (LUGARU_FORCE_INTERNAL_OPENAL "Force internal OpenAL, even if theer's a system version" False) + option (LUGARU_FORCE_INTERNAL_OPENAL "Force internal libOpenAL, even if there's a system version" False) if (NOT LUGARU_FORCE_INTERNAL_OPENAL) find_package(OpenAL REQUIRED) +else(NOT LUGARU_FORCE_INTERNAL_OPENAL) + set(OPENAL_FOUND False) endif (NOT LUGARU_FORCE_INTERNAL_OPENAL) if (NOT OPENAL_FOUND)