Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 924 Bytes
project(qspotify)
cmake_minimum_required(VERSION 2.6.0)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules")
include(FindPkgConfig)
find_package(Qt4 REQUIRED)
find_package(Alsa REQUIRED)
find_package(libspotify REQUIRED)
set(QSPOTIFY_LIB_MAJOR_VERSION "0")
set(QSPOTIFY_LIB_MINOR_VERSION "4")
set(QSPOTIFY_LIB_PATCH_VERSION "0")
set(QSPOTIFY_LIB_VERSION_STRING "${QPSOTIFY_LIB_MAJOR_VERSION}.${QPSOTIFY_LIB_MINOR_VERSION}.${QPSOTIFY_LIB_PATCH_VERSION}")
SET (LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
SET (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING "Directory where lib will install")
SET (INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "The directory the headers are installed in")
SET (CMAKE_MODULES_INSTALL_DIR "${CMAKE_ROOT}/Modules" CACHE PATH "The directory to install FindQJSON.cmake to")
add_subdirectory(src)
Jump to Line
Something went wrong with that request. Please try again.