aboutsummaryrefslogtreecommitdiff
path: root/ports/sqlcipher/sqlcipher-config.in.cmake
diff options
context:
space:
mode:
authorSvenPStarFinanz <spa@starfinanz.de>2020-10-14 01:13:13 +0200
committerGitHub <noreply@github.com>2020-10-13 16:13:13 -0700
commit50fb30f84c87a1cf30949fa840eb7c75123879a0 (patch)
tree532a36e4224f520b55ae6876a21053603e3cb79d /ports/sqlcipher/sqlcipher-config.in.cmake
parent98c5261b40b830ac969f062f1569fe75be3e281c (diff)
downloadvcpkg-50fb30f84c87a1cf30949fa840eb7c75123879a0.tar.gz
vcpkg-50fb30f84c87a1cf30949fa840eb7c75123879a0.zip
[sqlcipher] Add new port (#13786)
* [sqlcipher] New port * Reformatted. * Update vcpkg.json * Update ports/sqlcipher/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Removed from baseline, because flagged in vcpkg.json. Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/sqlcipher/sqlcipher-config.in.cmake')
-rw-r--r--ports/sqlcipher/sqlcipher-config.in.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/ports/sqlcipher/sqlcipher-config.in.cmake b/ports/sqlcipher/sqlcipher-config.in.cmake
new file mode 100644
index 000000000..308ea4715
--- /dev/null
+++ b/ports/sqlcipher/sqlcipher-config.in.cmake
@@ -0,0 +1,7 @@
+
+if("@VCPKG_LIBRARY_LINKAGE@" STREQUAL "static" AND NOT WIN32)
+ include(CMakeFindDependencyMacro)
+ find_dependency(Threads)
+endif()
+
+include(${CMAKE_CURRENT_LIST_DIR}/sqlcipher-targets.cmake)