Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 509f0ec471
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (17 sloc) 0.75 kB
# Copyright (C) 2007-2009 LuaDist.
# Created by Peter Drahoš
# Redistribution and use of this file is allowed according to the terms of the MIT license.
# For details see the COPYRIGHT file distributed with LuaDist.
# Please note that the package source code is licensed under its own license.
PROJECT(lualibusb C)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
INCLUDE(dist.cmake)
FIND_PACKAGE (LibUSB REQUIRED)
INCLUDE_DIRECTORIES(${LibUSB_INCLUDE_DIR})
# Build
ADD_LUA_MODULE(libusb lualibusb.c)
TARGET_LINK_LIBRARIES(libusb ${LibUSB_LIBRARIES})
# Install all files and documentation
INSTALL (TARGETS libusb DESTINATION ${INSTALL_CMOD})
INSTALL (FILES COPYRIGHT README DESTINATION ${INSTALL_DATA})
INSTALL (FILES test.lua DESTINATION ${INSTALL_TEST})
Jump to Line
Something went wrong with that request. Please try again.