From d77479401d98b63ec2737467b8b0458d2231d212 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sun, 23 Apr 2017 09:20:49 +1000 Subject: [PATCH] For cmake build, opt into Mac OS X rpath mode, bump version to 2.8.12 --- build/cmake/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt index f192009..c6beafc 100644 --- a/build/cmake/CMakeLists.txt +++ b/build/cmake/CMakeLists.txt @@ -4,12 +4,13 @@ endif () project (glew) -cmake_minimum_required (VERSION 2.8.7) +cmake_minimum_required (VERSION 2.8.12) include(GNUInstallDirs) if (COMMAND cmake_policy) cmake_policy (SET CMP0003 NEW) + cmake_policy (SET CMP0042 NEW) endif() set(CMAKE_DEBUG_POSTFIX d)