set(PLUGIN_NAME gutter) set(INCLUDES ${CSOUND_INCLUDE_DIRS} "include") set(LIBS "") # Dependencies find_package(Guttersynth) check_deps(Guttersynth_FOUND) list(APPEND INCLUDES ${Guttersynth_INCLUDE_DIR}) list(APPEND LIBS ${Guttersynth_LIBRARY}) # Source files set(CPPFILES src/opcodes.cpp) make_plugin(${PLUGIN_NAME} "${CPPFILES}" ${LIBS}) target_include_directories(${PLUGIN_NAME} PRIVATE ${INCLUDES})