diff options
author | Chris Robinson <[email protected]> | 2008-07-22 11:26:56 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-07-22 11:26:56 -0700 |
commit | 646714b5858056470c328413e2c99efac9a046f5 (patch) | |
tree | f3767ccd20dd91e896dd11912f413fbb5f30a793 /CMakeLists.txt | |
parent | eba60c30c5e1676786b33be38c3845d850e96bcb (diff) |
Set the new linking policy for CMake 2.6 to avoid warnings
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 511405ef..7a43b250 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,11 @@ # CMake build file list for OpenAL +CMAKE_MINIMUM_REQUIRED(VERSION 2.4) + +IF(COMMAND CMAKE_POLICY) + CMAKE_POLICY(SET CMP0003 NEW) +ENDIF(COMMAND CMAKE_POLICY) + INCLUDE(CheckFunctionExists) INCLUDE(CheckLibraryExists) INCLUDE(CheckIncludeFile) |