Fix totally broken lv2 checks
This commit is contained in:
parent
1715d437e9
commit
7c88aa44f7
@ -12,14 +12,17 @@ SET(SAMP_ZERO_POS "0" CACHE STRING "Default sample zero position 0=top left (tl)
|
||||
|
||||
# check for our various libraries
|
||||
find_package(PkgConfig)
|
||||
pkg_check_modules(LV2 REQUIRED lv2-plugin>=1.0.4)
|
||||
pkg_check_modules(LV2 REQUIRED lv2core>=6.0)
|
||||
pkg_check_modules(LV2EVENT REQUIRED lv2-lv2plug.in-ns-ext-event>=1.4)
|
||||
pkg_check_modules(LV2UI REQUIRED lv2-lv2plug.in-ns-extensions-ui>=2.4)
|
||||
pkg_check_modules(LV2URI REQUIRED lv2-lv2plug.in-ns-ext-uri-map>=1.4)
|
||||
pkg_check_modules(SNDFILE REQUIRED sndfile>=1.0.20)
|
||||
pkg_check_modules(SAMPLERATE REQUIRED samplerate>=0.1.5)
|
||||
pkg_check_modules (GTK2 REQUIRED gtk+-2.0>=2.22.0)
|
||||
find_package (EXPAT REQUIRED)
|
||||
|
||||
include_directories (${LV2_INCLUDE_DIRS} ${EXPAT_INCLUDE_DIRS} ${SNDFILE_INCLUDE_DIRS} ${SAMPLERATE_INCLUDE_DIRS} ${GTK2_INCLUDE_DIRS})
|
||||
link_directories (${LV2_LIBRARY_DIRS} ${EXPAT_LIBRARY_DIRS} ${SNDFILE_LIBRARY_DIRS} ${SAMPLERATE_LIBRARY_DIRS} ${GTK2_LIBRARY_DIRS})
|
||||
include_directories (${LV2_INCLUDE_DIRS} ${LV2EVENT_INCLUDE_DIRS} ${LV2UI_INCLUDE_DIRS} ${LV2URI_INCLUDE_DIRS} ${EXPAT_INCLUDE_DIRS} ${SNDFILE_INCLUDE_DIRS} ${SAMPLERATE_INCLUDE_DIRS} ${GTK2_INCLUDE_DIRS})
|
||||
link_directories (${LV2_LIBRARY_DIRS} ${LV2EVENT_LIBRARY_DIRS} ${LV2UI_LIBRARY_DIRS} ${LV2URI_LIBRARY_DIRS} ${EXPAT_LIBRARY_DIRS} ${SNDFILE_LIBRARY_DIRS} ${SAMPLERATE_LIBRARY_DIRS} ${GTK2_LIBRARY_DIRS})
|
||||
|
||||
# config libraries
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user