From dd8f06e9eb5c6fe9976532fce16a0d3c56432d8a Mon Sep 17 00:00:00 2001 From: "brian.orwe" Date: Wed, 24 Nov 2021 14:31:49 +0300 Subject: [PATCH] Add vcpkg support --- .gitignore | 7 ++++++- CMakeLists.txt | 4 ++-- vcpkg.json | 7 +++++++ 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 vcpkg.json diff --git a/.gitignore b/.gitignore index ed73d14..15b0219 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,7 @@ CMakeFiles -src \ No newline at end of file +src +build + +#for vim +*.swp +compile_commands.json diff --git a/CMakeLists.txt b/CMakeLists.txt index 2de5a49..daef6ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,6 @@ endif() add_library(Swish INTERFACE) -target_link_libraries(Swish INTERFACE CURL) +target_link_libraries(Swish INTERFACE CURL::libcurl) -install(DIRECTORY swish DESTINATION include) \ No newline at end of file +install(DIRECTORY swish DESTINATION include) diff --git a/vcpkg.json b/vcpkg.json new file mode 100644 index 0000000..bdf1566 --- /dev/null +++ b/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "project-swisho", + "version-string":"0.1.2", + "dependencies": [ + "curl" + ] +}