CMake: Fix CMake for non Apple systems
authorThomas Beck <software@plasmasolutions.de>
Sun, 23 Apr 2017 17:10:04 +0000 (19:10 +0200)
committerThomas Beck <software@plasmasolutions.de>
Sun, 23 Apr 2017 17:10:04 +0000 (19:10 +0200)
Follow up to https://developer.blender.org/rB14a4ce6d7fb4dcf3d1aa5b58f9a543549df6d5dc
apple_check_quicktime() macro is only defined for apple, so ignore it otherwise.

CMakeLists.txt

index a938d9b338f0a8c5f6be6ea6ef8b52f169e8d159..2674ccb56ad29d5fccf582379e40bd37ebd8f990 100644 (file)
@@ -736,7 +736,9 @@ if(WITH_AUDASPACE)
        endif()
 endif()
 
-apple_check_quicktime()
+if(APPLE)
+       apple_check_quicktime()
+endif()
 
 #-----------------------------------------------------------------------------
 # Check for valid directories