For cmake build, opt into Mac OS X rpath mode, bump version to 2.8.12

This commit is contained in:
Nigel Stewart 2017-04-23 09:20:49 +10:00
parent db019a23a9
commit d77479401d

View File

@ -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)