${KDE4_INCLUDES} # Adds Qt include directories too.
${LIBMLT_INCLUDE_DIR}
${LIBMLTPLUS_INCLUDE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/lib/external
+ ${CMAKE_CURRENT_SOURCE_DIR}/lib
)
${LIBMLTPLUS_LIBRARY}
${CMAKE_DL_LIBS}
${CMAKE_THREAD_LIBS_INIT}
+ kiss_fft
)
-if(BUILD_JogShuttle)
- target_link_libraries(kdenlive
- ${CMAKE_SOURCE_DIR}/lib/libmedia_ctrl.a
- )
-endif(BUILD_JogShuttle)
-
if(Q_WS_X11)
include_directories(${X11_Xlib_INCLUDE_PATH})
target_link_libraries(kdenlive ${X11_LIBRARIES})
if(BUILD_JogShuttle)
add_definitions(-DUSE_JOGSHUTTLE)
+ target_link_libraries(kdenlive
+ media_ctrl
+ )
endif(BUILD_JogShuttle)
install(TARGETS kdenlive DESTINATION ${BIN_INSTALL_DIR})
#include <linux/input.h>
#include <sys/time.h>
-#include "lib/external/media_ctrl/mediactrl.h"
+#include <media_ctrl/mediactrl.h>
typedef struct input_event EV;
-set(kdenlive_SRCS
- ${kdenlive_SRCS}
- lib/external/kiss_fft/_kiss_fft_guts.h
- lib/external/kiss_fft/kiss_fft.c
- lib/external/kiss_fft/tools/kiss_fftr.c
- PARENT_SCOPE
-)
-
-
# Create a static library from kiss_fft
-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --std=c99")
include_directories(
${CMAKE_BINARY_DIR}