set(PLUGIN_NAME shout) set(INCLUDES ${CSOUND_INCLUDE_DIRS}) set(LIBS "") list(APPEND INCLUDES "include") # Dependencies find_package(Shout) find_package(Lame) check_deps(SHOUT_FOUND) list(APPEND LIBS ${SHOUT_LIBRARIES} ${LAME_LIBRARIES}) list(APPEND INCLUDES ${SHOUT_INCLUDE_DIRS} ${LAME_INCLUDE_DIR}) # Source files set(CPPFILES src/opcodes.cpp) make_plugin(${PLUGIN_NAME} "${CPPFILES}" ${LIBS}) target_include_directories(${PLUGIN_NAME} PRIVATE ${INCLUDES})