From aaff5b9c4f138985e7cd79d082b5f85c8833ffb6 Mon Sep 17 00:00:00 2001 From: kestred Date: Mon, 9 Dec 2013 12:22:54 -0700 Subject: [PATCH] CMake: Configure: Add OpenAL support. Typo fix in CMake README.md. --- cmake/README.md | 2 +- dtool/Configure.cmake | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cmake/README.md b/cmake/README.md index beffdb5749..203a8753fc 100644 --- a/cmake/README.md +++ b/cmake/README.md @@ -54,5 +54,5 @@ cmake -DNOTHING=True . # or .. if you are in a separate build/ dir To use all available packages, and silence output for missing packages, run: ```sh -cmake- DDISCOVERED=True . # or .. if you are in a separate build/ dir +cmake -DDISCOVERED=True . # or .. if you are in a separate build/ dir ``` diff --git a/dtool/Configure.cmake b/dtool/Configure.cmake index 7cc1f5c393..e7cf021f24 100644 --- a/dtool/Configure.cmake +++ b/dtool/Configure.cmake @@ -106,14 +106,15 @@ config_package(RAD_MSS COMMENT "Miles Sound System") find_package(FMODEx) config_package(FMODEX COMMENT "FMOD Ex sound library") +# Find and configure OpenAL +find_package(OpenAL QUIET) +mangle_package(OpenAL) +config_package(OPENAL COMMENT "OpenAL sound library") ######## # TODO # ######## -# Find and configure OpenAL -#find_package(OpenAL) -#config_package(OPENAL COMMENT "OpenAL sound library") # Find and configure PhysX #find_package(PhysX)