aboutsummaryrefslogtreecommitdiff
path: root/ports/sqlpp11/portfile.cmake
diff options
context:
space:
mode:
authorlex-96 <36802655+lex-96@users.noreply.github.com>2019-11-02 00:46:26 +0300
committerRobert Schumacher <roschuma@microsoft.com>2019-11-01 14:46:26 -0700
commit63b556732a70ffa70fd3666f76fa7bfcf9998f55 (patch)
treea8571a19f9901e6858164495d57dd96bc9a0ef2d /ports/sqlpp11/portfile.cmake
parentad34a656846ed9ff1cac7b57d2aeb6816567983c (diff)
downloadvcpkg-63b556732a70ffa70fd3666f76fa7bfcf9998f55.tar.gz
vcpkg-63b556732a70ffa70fd3666f76fa7bfcf9998f55.zip
[sqlpp11] fixed ddl2cpp path (#8837)
* [sqlpp11] fixed ddl2cpp path * Incremented sqlpp11 CONTROL version to 0.58-3
Diffstat (limited to 'ports/sqlpp11/portfile.cmake')
-rw-r--r--ports/sqlpp11/portfile.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/ports/sqlpp11/portfile.cmake b/ports/sqlpp11/portfile.cmake
index dbc502382..596df3977 100644
--- a/ports/sqlpp11/portfile.cmake
+++ b/ports/sqlpp11/portfile.cmake
@@ -6,6 +6,7 @@ vcpkg_from_github(
REF 0.58
SHA512 c391e72638a748e0e25b53176dc371ba468bc14bdcb6dda2f2418c4ab4d620ebc5507ee284ff81c3104888d0d959703c6c91b55ccd69a8641b07dcb20cd56209
HEAD_REF master
+ PATCHES ddl2cpp_path.patch
)
# Use sqlpp11's own build process, skipping tests
@@ -15,11 +16,12 @@ vcpkg_configure_cmake(
OPTIONS
-DENABLE_TESTS:BOOL=OFF
)
-
+
vcpkg_install_cmake()
# Move CMake config files to the right place
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)
+vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Sqlpp11 TARGET_PATH share/sqlpp11)
+
# Delete redundant and unnecessary directories
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)