From 646714b5858056470c328413e2c99efac9a046f5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 22 Jul 2008 11:26:56 -0700 Subject: Set the new linking policy for CMake 2.6 to avoid warnings --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3