diff options
author | Jacek Antonelli | 2008-10-17 22:10:52 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-10-17 22:23:57 -0500 |
commit | d3e601b407d0e439bf810e16de1e4ffd40001aaa (patch) | |
tree | 92fb38f0551ff4d956d8c6229f8f05954be821d3 | |
parent | Use FMOD_LIBRARY variable. It's there for a reason. (diff) | |
download | meta-impy-d3e601b407d0e439bf810e16de1e4ffd40001aaa.zip meta-impy-d3e601b407d0e439bf810e16de1e4ffd40001aaa.tar.gz meta-impy-d3e601b407d0e439bf810e16de1e4ffd40001aaa.tar.bz2 meta-impy-d3e601b407d0e439bf810e16de1e4ffd40001aaa.tar.xz |
Disable fmod by default.
You can give -DFMOD=ON at configure time to turn it on.
-rw-r--r-- | ChangeLog.txt | 4 | ||||
-rw-r--r-- | linden/indra/cmake/FMOD.cmake | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 21414d2..7103009 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,5 +1,9 @@ | |||
1 | 2008-10-17 Jacek Antonelli <jacek.antonelli@gmail.com> | 1 | 2008-10-17 Jacek Antonelli <jacek.antonelli@gmail.com> |
2 | 2 | ||
3 | * linden/indra/cmake/FMOD.cmake: | ||
4 | Disable fmod by default. | ||
5 | You can give -DFMOD=ON at configure time to turn it on. | ||
6 | |||
3 | * linden/indra/newview/CMakeLists.txt: | 7 | * linden/indra/newview/CMakeLists.txt: |
4 | Use FMOD_LIBRARY variable. It's there for a reason. | 8 | Use FMOD_LIBRARY variable. It's there for a reason. |
5 | 9 | ||
diff --git a/linden/indra/cmake/FMOD.cmake b/linden/indra/cmake/FMOD.cmake index 759b8f1..e9f483a 100644 --- a/linden/indra/cmake/FMOD.cmake +++ b/linden/indra/cmake/FMOD.cmake | |||
@@ -7,6 +7,7 @@ if(INSTALL_PROPRIETARY) | |||
7 | use_prebuilt_binary(fmod) | 7 | use_prebuilt_binary(fmod) |
8 | endif(INSTALL_PROPRIETARY) | 8 | endif(INSTALL_PROPRIETARY) |
9 | 9 | ||
10 | if (FMOD) | ||
10 | find_library(FMOD_LIBRARY_RELEASE | 11 | find_library(FMOD_LIBRARY_RELEASE |
11 | NAMES fmod fmodvc fmod-3.75 | 12 | NAMES fmod fmodvc fmod-3.75 |
12 | PATHS | 13 | PATHS |
@@ -18,6 +19,7 @@ find_library(FMOD_LIBRARY_DEBUG | |||
18 | PATHS | 19 | PATHS |
19 | ${ARCH_PREBUILT_DIRS_DEBUG} | 20 | ${ARCH_PREBUILT_DIRS_DEBUG} |
20 | ) | 21 | ) |
22 | endif (FMOD) | ||
21 | 23 | ||
22 | if (FMOD_LIBRARY_RELEASE AND FMOD_LIBRARY_DEBUG) | 24 | if (FMOD_LIBRARY_RELEASE AND FMOD_LIBRARY_DEBUG) |
23 | set(FMOD_LIBRARY | 25 | set(FMOD_LIBRARY |