kima2/src/printer/CMakeLists.txt

13 lines
309 B
Text
Raw Normal View History

set(Boost_USE_STATIC_LIBS ON)
find_package(Boost 1.62 REQUIRED)
2018-08-05 21:51:30 +02:00
find_package(LibUSB REQUIRED)
set(PRINTER_SOURCES
posprinter.cpp
)
add_library(printer STATIC ${PRINTER_SOURCES})
2018-08-06 09:59:06 +02:00
target_link_libraries(printer ${LIBUSB_1_LIBRARIES})
2018-08-05 21:51:30 +02:00
target_include_directories(printer PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})