diff options
| author | Sébastien Matte <sebastien.matte83@gmail.com> | 2019-03-15 14:44:28 -0400 |
|---|---|---|
| committer | Sébastien Matte <sebastien.matte83@gmail.com> | 2019-03-15 14:44:28 -0400 |
| commit | 0ea0c917908f5f65025fbf91da246cf17c66dda5 (patch) | |
| tree | e178ad5df9ee341592fabe939b2cff2b9bad9c1c | |
| parent | 9ca11f3a6dc7ef8838c6bc078dfb6ce4c288833e (diff) | |
| download | vcpkg-0ea0c917908f5f65025fbf91da246cf17c66dda5.tar.gz vcpkg-0ea0c917908f5f65025fbf91da246cf17c66dda5.zip | |
[sqlpp11] Moved the python scripts located in the bin folder to a separate folder. This removes the warning when compiling in static.
| -rw-r--r-- | ports/sqlpp11/portfile.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
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)
|
