mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-19 20:28:52 +01:00
24 lines
675 B
CMake
24 lines
675 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
|
|
include_directories(${GLIB_INCLUDE_DIRS})
|
|
include_directories(${GOBJECT_INCLUDE_DIRS})
|
|
include_directories(${GSTREAMER_INCLUDE_DIRS})
|
|
include_directories(${GSTREAMER_AUDIO_INCLUDE_DIRS})
|
|
include_directories(${FFTW3_INCLUDE_DIR})
|
|
|
|
set(SOURCES gstfastspectrum.cpp gstmoodbarplugin.cpp)
|
|
|
|
add_library(gstmoodbar STATIC ${SOURCES})
|
|
|
|
target_link_libraries(gstmoodbar
|
|
${GOBJECT_LIBRARIES}
|
|
${GLIB_LIBRARIES}
|
|
${GSTREAMER_LIBRARIES}
|
|
${GSTREAMER_AUDIO_LIBRARIES}
|
|
${GSTREAMER_BASE_LIBRARIES}
|
|
${FFTW3_FFTW_LIBRARY}
|
|
)
|
|
|
|
target_link_libraries(gstmoodbar Qt5::Core)
|