Skip to content

Commit

Permalink
Update for new lv2 packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklan committed Mar 29, 2012
1 parent 6ffc335 commit 6992a24
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions CMakeLists.txt
Expand Up @@ -12,19 +12,14 @@ 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 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(LV2URID REQUIRED lv2-lv2plug.in-ns-ext-urid>=1.0)
pkg_check_modules(LV2ATOM REQUIRED lv2-lv2plug.in-ns-ext-atom>=0.6)
pkg_check_modules(LV2STATE REQUIRED lv2-lv2plug.in-ns-ext-state>=0.6)
pkg_check_modules(LV2 REQUIRED lv2>=0.1.0)
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} ${LV2EVENT_INCLUDE_DIRS} ${LV2UI_INCLUDE_DIRS} ${LV2URID_INCLUDE_DIRS} ${LV2ATOM_INCLUDE_DIRS} ${LV2STATE_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} ${LV2URID_LIBRARY_DIRS} ${LV2ATOM_LIBRARY_DIRS} ${LV2STATE_LIBRARY_DIRS} ${EXPAT_LIBRARY_DIRS} ${SNDFILE_LIBRARY_DIRS} ${SAMPLERATE_LIBRARY_DIRS} ${GTK2_LIBRARY_DIRS})
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})

# config libraries

Expand Down

0 comments on commit 6992a24

Please sign in to comment.