From 0fc7b1bbdcb24ccce49b6aa79ccffb9ed39573c9 Mon Sep 17 00:00:00 2001 From: Palana <palana@stunned.de> Date: Fri, 24 Jan 2014 23:16:55 +0100 Subject: [PATCH] Require cmake 2.8.12 on osx This requirement is due to rpath usage in the project and SDK location changes[1] in more recent osx versions [1] i.e. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1fce189e --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ea579b82f..43041c6c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,8 @@ -cmake_minimum_required(VERSION 2.8.11) +if(APPLE) + cmake_minimum_required(VERSION 2.8.12) +else() + cmake_minimum_required(VERSION 2.8.11) +endif() project(obs-studio) -- GitLab