mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 07:36:52 +08:00
18 lines
325 B
CMake
18 lines
325 B
CMake
|
cmake_minimum_required(VERSION 2.8)
|
||
|
|
||
|
project(quirc C)
|
||
|
|
||
|
add_library(quirc
|
||
|
lib/decode.c
|
||
|
lib/identify.c
|
||
|
lib/quirc.c
|
||
|
lib/version_db.c
|
||
|
)
|
||
|
|
||
|
install(TARGETS quirc
|
||
|
RUNTIME DESTINATION bin
|
||
|
ARCHIVE DESTINATION lib
|
||
|
LIBRARY DESTINATION lib)
|
||
|
|
||
|
install(FILES ${PROJECT_SOURCE_DIR}/lib/quirc.h DESTINATION include)
|