From 242039d7f9384a199932c913a8a6408bc56d7e15 Mon Sep 17 00:00:00 2001 From: Alberto Villa Date: Sat, 11 Sep 2010 22:45:47 +0000 Subject: [PATCH] - Automatically disable JogShuttle support on FreeBSD and Mac OS X, but keep NO_JOGSHUTTLE for people willing to disable it on other systems. svn path=/trunk/kdenlive/; revision=4869 --- src/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index db49e9a6..8d38fad6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -224,11 +224,11 @@ add_subdirectory( ${CMAKE_SOURCE_DIR}/src/colorcorrection ) add_definitions( ${KDE4_DEFINITIONS} ) -if(NO_JOGSHUTTLE) +if(APPLE OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR NO_JOGSHUTTLE) add_definitions(-DNO_JOGSHUTTLE) -else(NO_JOGSHUTTLE) +else(APPLE OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR NO_JOGSHUTTLE) set(kdenlive_SRCS jogshuttle.cpp ${kdenlive_SRCS}) -endif(NO_JOGSHUTTLE) +endif(APPLE OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR NO_JOGSHUTTLE) if (APPLE) set(kdenlive_SRCS videoglwidget.cpp ${kdenlive_SRCS}) -- 2.39.2