From 33807aeb43461441d6a4ca54582b75d54c2a2808 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sat, 22 May 2010 01:23:02 +0200 Subject: [PATCH] CALF: Added missing config.h Now that we're not removing the config.h-inclusions from upstream's source files we have to provide a dummy config.h. At the same time this allows us to move macro definitions from CMakeLists.txt to config.h. --- plugins/ladspa_effect/calf/CMakeLists.txt | 1 - plugins/ladspa_effect/calf/src/config.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 plugins/ladspa_effect/calf/src/config.h diff --git a/plugins/ladspa_effect/calf/CMakeLists.txt b/plugins/ladspa_effect/calf/CMakeLists.txt index fb4e10cec..f72f1f2a7 100644 --- a/plugins/ladspa_effect/calf/CMakeLists.txt +++ b/plugins/ladspa_effect/calf/CMakeLists.txt @@ -2,7 +2,6 @@ FILE(GLOB SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp) ADD_LIBRARY(calf MODULE ${SOURCES}) INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src) INSTALL(TARGETS calf LIBRARY DESTINATION ${PLUGIN_DIR}/ladspa) -ADD_DEFINITIONS(-DUSE_LADSPA=1) SET_TARGET_PROPERTIES(calf PROPERTIES PREFIX "") SET(INLINE_FLAGS "") IF(NOT LMMS_BUILD_APPLE) diff --git a/plugins/ladspa_effect/calf/src/config.h b/plugins/ladspa_effect/calf/src/config.h new file mode 100644 index 000000000..0ddd570c8 --- /dev/null +++ b/plugins/ladspa_effect/calf/src/config.h @@ -0,0 +1 @@ +#define USE_LADSPA 1