From 0ea0c917908f5f65025fbf91da246cf17c66dda5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Matte?= Date: Fri, 15 Mar 2019 14:44:28 -0400 Subject: [sqlpp11] Moved the python scripts located in the bin folder to a separate folder. This removes the warning when compiling in static. --- ports/sqlpp11/portfile.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ports/sqlpp11/portfile.cmake b/ports/sqlpp11/portfile.cmake index 61b930da5..be99572e3 100644 --- a/ports/sqlpp11/portfile.cmake +++ b/ports/sqlpp11/portfile.cmake @@ -24,5 +24,9 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake) # Delete redundant and unnecessary directories file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib) +# Move python script from bin directory +file(COPY ${CURRENT_PACKAGES_DIR}/bin/sqlpp11-ddl2cpp DESTINATION ${CURRENT_PACKAGES_DIR}/scripts) +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin/) + # Handle copyright file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/sqlpp11 RENAME copyright) -- cgit v1.2.3