vcpkg/ports/sqlpp11/ddl2cpp_path.patch
MonicaLiu 8d3aa2bbf6
[sqlpp11] Update to latest commit (#26775)
* update sqlpp11

* update baseline

* update some formatting

* update version

Co-authored-by: Monica <v-liumonica@microsoft.com>
2022-09-14 12:13:20 -07:00

14 lines
728 B
Diff

diff --git a/cmake/configs/Sqlpp11Config.cmake b/cmake/configs/Sqlpp11Config.cmake
index 5c5926f..c25da97 100644
--- a/cmake/configs/Sqlpp11Config.cmake
+++ b/cmake/configs/Sqlpp11Config.cmake
@@ -55,7 +55,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()