Browse Source

CMake: Configure: Add OpenAL support. Typo fix in CMake README.md.

kestred 12 years ago
parent
commit
aaff5b9c4f
2 changed files with 5 additions and 4 deletions
  1. 1 1
      cmake/README.md
  2. 4 3
      dtool/Configure.cmake

+ 1 - 1
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
 ```

+ 4 - 3
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)