set(PLUGIN_NAME curl) set(LIBS "") set(INCLUDES ${CSOUND_INCLUDE_DIRS} "include") # Dependencies find_package(CURL) check_deps(CURL_FOUND) list(APPEND LIBS ${CURL_LIBRARIES}) list(APPEND INCLUDES ${CURL_INCLUDE_DIRS}) # Source files set(CPPFILES src/opcodes.cpp) make_plugin(${PLUGIN_NAME} "${CPPFILES}") target_include_directories(${PLUGIN_NAME} PRIVATE ${INCLUDES})