vcpkg/ports/sqlpp11/ddl2cpp_path.patch
JeffyOLOLO e2fb66462a
[sqlpp11] update to 0.61 (#25458)
* Update the sqlpp11 port to version 0.61 + SQLite3

* Update the sqlpp11 version to 0.61

* Update dependencies in sqlpp11 ports

* Update sqlpp11 and its connectors versions

* Update files according to the maintainer guide

* Update the sqlpp11 version

* Update SHA512

* Version instead of version-string

* Update the sqlpp11 version

* Version-string instead of version

* Version update

* Vesrion update after script

* Update according to checks

* Replace connector ports by empty one

* Update the sqlite3 connector port to dummy one

* Remove non exsistent sqlpp11 sqlite3 version

* Make the mysql connector port as obsolete

* Format vcpkg.json in sqlpp11's ports

* Update sqlpp11's ports versions

* Backward compatibility in the mysql connector

* Update version in sqlpp11's mysql connector

* Remove non exsistent sqlpp11 mysql version
2022-07-05 15:35:30 -07:00

14 lines
727 B
Diff

diff --git a/cmake/configs/Sqlpp11Config.cmake b/cmake/configs/Sqlpp11Config.cmake
index c50a71a..96d0c5b 100644
--- a/cmake/configs/Sqlpp11Config.cmake
+++ b/cmake/configs/Sqlpp11Config.cmake
@@ -51,7 +51,7 @@ endforeach()
# Import "ddl2cpp" script
if(NOT TARGET sqlpp11::ddl2cpp)
- get_filename_component(sqlpp11_ddl2cpp_location "${CMAKE_CURRENT_LIST_DIR}/../../../bin/sqlpp11-ddl2cpp" REALPATH)
+ get_filename_component(sqlpp11_ddl2cpp_location "${CMAKE_CURRENT_LIST_DIR}/../../scripts/sqlpp11-ddl2cpp" REALPATH)
if(NOT EXISTS "${sqlpp11_ddl2cpp_location}")
message(FATAL_ERROR "The imported target sqlpp11::ddl2cpp references the file '${sqlpp11_ddl2cpp_location}' but this file does not exists.")
endif()