From da82f6542460067c56669ec64df0b580b8e18274 Mon Sep 17 00:00:00 2001 From: Thomas Beck Date: Sun, 23 Apr 2017 19:10:04 +0200 Subject: CMake: Fix CMake for non Apple systems Follow up to https://developer.blender.org/rB14a4ce6d7fb4dcf3d1aa5b58f9a543549df6d5dc apple_check_quicktime() macro is only defined for apple, so ignore it otherwise. --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index a938d9b338f..2674ccb56ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -736,7 +736,9 @@ if(WITH_AUDASPACE) endif() endif() -apple_check_quicktime() +if(APPLE) + apple_check_quicktime() +endif() #----------------------------------------------------------------------------- # Check for valid directories -- cgit v1.2.3