aboutsummaryrefslogtreecommitdiff
path: root/ports/libqrencode/usage
diff options
context:
space:
mode:
authorAlexander Saprykin <xelfium@gmail.com>2018-05-26 13:27:14 +0200
committerGitHub <noreply@github.com>2018-05-26 13:27:14 +0200
commit4ce5f064282c3a8d8d710aa82af7aa346b0c6dd5 (patch)
treed95c9490352eb73f078d34a33bc4bb44ac9fa48b /ports/libqrencode/usage
parentfb689bd13dd6ba563a885d71fff1dd2b32a615db (diff)
parent2ac7527b40b1dbeb7856b9f763362c1e139e2ca9 (diff)
downloadvcpkg-4ce5f064282c3a8d8d710aa82af7aa346b0c6dd5.tar.gz
vcpkg-4ce5f064282c3a8d8d710aa82af7aa346b0c6dd5.zip
Merge pull request #1 from Microsoft/master
Update vcpkg from upstream
Diffstat (limited to 'ports/libqrencode/usage')
-rw-r--r--ports/libqrencode/usage10
1 files changed, 10 insertions, 0 deletions
diff --git a/ports/libqrencode/usage b/ports/libqrencode/usage
new file mode 100644
index 000000000..f6003f4e3
--- /dev/null
+++ b/ports/libqrencode/usage
@@ -0,0 +1,10 @@
+To use libqrencode library in CMakeLists.txt:
+
+ find_path(QRENCODE_INCLUDE_DIR NAMES qrencode.h)
+ find_library(QRENCODE_LIBRARY_RELEASE qrencode)
+ find_library(QRENCODE_LIBRARY_DEBUG qrencoded)
+ set(QRENCODE_LIBRARIES optimized ${QRENCODE_LIBRARY_RELEASE} debug ${QRENCODE_LIBRARY_DEBUG})
+
+ add_executable(main main.cpp)
+ target_include_directories(main PRIVATE ${QRENCODE_INCLUDE_DIR})
+ target_link_libraries(main PRIVATE ${QRENCODE_LIBRARIES})