Source

QJack / CMakeLists.txt

project(QJack)
cmake_minimum_required(VERSION 2.6)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
find_package(Qt4 REQUIRED)
find_package(Jack REQUIRED)

include_directories(${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR})
include_directories ("${PROJECT_SOURCE_DIR}/qjack")

add_subdirectory(qjack)

set(QJackExample_SRCS example.cpp)
qt4_automoc(${QJackExample_SRCS})

add_executable(example ${QJackExample_SRCS})

target_link_libraries(example ${QT_QTCORE_LIBRARY} ${LIBJACK_LIBRARIES} qjack)