2024-08-27 19:39:53 +02:00
|
|
|
cmake_minimum_required(VERSION 3.13)
|
2019-09-15 20:27:32 +02:00
|
|
|
|
2019-04-18 15:03:01 +02:00
|
|
|
set(SOURCES gstfastspectrum.cpp gstmoodbarplugin.cpp)
|
|
|
|
|
|
|
|
add_library(gstmoodbar STATIC ${SOURCES})
|
|
|
|
|
2020-06-26 23:26:04 +02:00
|
|
|
target_include_directories(gstmoodbar SYSTEM PRIVATE
|
2020-06-17 22:56:20 +02:00
|
|
|
${GLIB_INCLUDE_DIRS}
|
|
|
|
${GOBJECT_INCLUDE_DIRS}
|
|
|
|
${GSTREAMER_INCLUDE_DIRS}
|
|
|
|
${GSTREAMER_BASE_INCLUDE_DIRS}
|
|
|
|
${GSTREAMER_AUDIO_INCLUDE_DIRS}
|
|
|
|
${FFTW3_INCLUDE_DIR}
|
|
|
|
)
|
|
|
|
|
2020-06-26 23:26:04 +02:00
|
|
|
target_include_directories(gstmoodbar PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
|
2024-08-27 19:39:53 +02:00
|
|
|
target_link_directories(gstmoodbar PRIVATE
|
|
|
|
${GLIB_LIBRARY_DIRS}
|
|
|
|
${GOBJECT_LIBRARY_DIRS}
|
|
|
|
${GSTREAMER_LIBRARY_DIRS}
|
|
|
|
${GSTREAMER_BASE_LIBRARY_DIRS}
|
|
|
|
${GSTREAMER_AUDIO_LIBRARY_DIRS}
|
|
|
|
${FFTW3_LIBRARY_DIRS}
|
|
|
|
)
|
|
|
|
|
2020-06-17 22:56:20 +02:00
|
|
|
target_link_libraries(gstmoodbar PRIVATE
|
2019-04-18 15:03:01 +02:00
|
|
|
${GLIB_LIBRARIES}
|
2020-06-17 22:56:20 +02:00
|
|
|
${GOBJECT_LIBRARIES}
|
2019-04-18 15:03:01 +02:00
|
|
|
${GSTREAMER_LIBRARIES}
|
|
|
|
${GSTREAMER_BASE_LIBRARIES}
|
2020-06-17 22:56:20 +02:00
|
|
|
${GSTREAMER_AUDIO_LIBRARIES}
|
2019-04-18 15:03:01 +02:00
|
|
|
${FFTW3_FFTW_LIBRARY}
|
2023-09-16 14:06:09 +02:00
|
|
|
Qt${QT_VERSION_MAJOR}::Core
|
2019-04-18 15:03:01 +02:00
|
|
|
)
|