diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-08-09 15:14:12 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-08-09 15:14:12 (GMT) |
commit | beac3e74f703148085947d75da6fdaa9fd7472b4 (patch) | |
tree | 714e73b2d82be502db7f09ac514730ede728c156 | |
parent | 3d160cc36eef31f762894cb30d11fd2e28ead435 (diff) | |
download | uscxml-beac3e74f703148085947d75da6fdaa9fd7472b4.zip uscxml-beac3e74f703148085947d75da6fdaa9fd7472b4.tar.gz uscxml-beac3e74f703148085947d75da6fdaa9fd7472b4.tar.bz2 |
Fixed uppercase in filename
-rw-r--r-- | contrib/cmake/FindOpenALKCAT.cmake | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/contrib/cmake/FindOpenALKCAT.cmake b/contrib/cmake/FindOpenALKCAT.cmake new file mode 100644 index 0000000..982468d --- /dev/null +++ b/contrib/cmake/FindOpenALKCAT.cmake @@ -0,0 +1,31 @@ +SET(WIN_DIRECTORIES "") +if(CMAKE_SIZEOF_VOID_P EQUAL 8) + list(APPEND WIN_DIRECTORIES "C:/Program Files/openal-soft-1.15.1-bin/lib/Win64") +else() + list(APPEND WIN_DIRECTORIES "C:/Program Files/openal-soft-1.15.1-bin/lib/Win32") +endif() + +find_path(OPENAL_INCLUDE_DIR al.h + HINTS + ENV OPENALDIR + PATH_SUFFIXES include/AL include/OpenAL include + PATHS + "C:/Program Files/openal-soft-1.15.1-bin" +) + +find_library(OPENAL_LIBRARY + NAMES OpenAL libOpenAL32.dll libOpenAL64.dll + HINTS + ENV OPENALDIR + PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64 + PATHS + ${WIN_DIRECTORIES} +) + + +# handle the QUIETLY and REQUIRED arguments and set OPENAL_FOUND to TRUE if +# all listed variables are TRUE +INCLUDE(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(OpenAL DEFAULT_MSG OPENAL_LIBRARY OPENAL_INCLUDE_DIR) + +mark_as_advanced(OPENAL_LIBRARY OPENAL_INCLUDE_DIR) |