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)