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.
This commit is contained in:
@@ -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)
|
||||
|
||||
1
plugins/ladspa_effect/calf/src/config.h
Normal file
1
plugins/ladspa_effect/calf/src/config.h
Normal file
@@ -0,0 +1 @@
|
||||
#define USE_LADSPA 1
|
||||
Reference in New Issue
Block a user