strawberry-audio-player-win.../ext/gstmoodbar/CMakeLists.txt

36 lines
849 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.7)
2019-09-15 20:27:32 +02:00
2019-04-18 15:03:01 +02:00
set(SOURCES gstfastspectrum.cpp gstmoodbarplugin.cpp)
2020-06-17 22:56:20 +02:00
link_directories(
${GLIB_LIBRARY_DIRS}
${GOBJECT_LIBRARY_DIRS}
${GSTREAMER_LIBRARY_DIRS}
${GSTREAMER_BASE_LIBRARY_DIRS}
${GSTREAMER_AUDIO_LIBRARY_DIRS}
${FFTW3_LIBRARY_DIRS}
)
2019-04-18 15:03:01 +02:00
add_library(gstmoodbar STATIC ${SOURCES})
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}
)
target_include_directories(gstmoodbar PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
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
)