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

36 lines
841 B
CMake
Raw Normal View History

2020-04-23 20:59:09 +02:00
cmake_minimum_required(VERSION 3.0)
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}
2020-07-18 04:47:54 +02:00
${QtCore_LIBRARIES}
2019-04-18 15:03:01 +02:00
)